Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Add user to application

Add user to given application. Admin permission will be required to perform this operation.

POST/api/2/user/application
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Query parameters
applicationKeystring

application key

usernamestring

username

Responses
200

Returned if the user exists, the caller has permission to add user to application and user was successfully added to application.

400

Returned if the request is invalid.

401

Returned if the user is not authenticated.

403

Returned if the caller user does not have permission to add user to application.

Try it
Server
Authorization
Parameters
Request
curl -X POST 'http://jira.example.com/rest/api/2/user/application' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Returned if the user exists, the caller has permission to add user to application and user was successfully added to application.

Was this page helpful?