Organization

Add users to organization

Changed on

This method adds users to an organization.

Permissions required: Service desk administrator or agent. Note: Permission to add users to an organization can be switched to users with the Jira administrator permission, using the Organization management feature.

post/rest/servicedeskapi/organization/{organizationId}/user

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/rest/servicedeskapi/organization/{organizationId}/user
  • Auth
    OAuth 2
    Authorization code: https://auth.atlassian.com/authorize
    Token URL: https://auth.atlassian.com/oauth/token scopes: manage:servicedesk-customer

Path parameters

organizationIdinteger required

The ID of the organization.

Request body

accountIdsstring[]

List of customers, specific by account IDs, to add to or remove from the organization.

organizationIdinteger

The organizationId in which users need to be added

usernamesstring[]

This property is no longer available and will be removed from the documentation soon. See the deprecation notice for details. Use accountIds instead.

Response

Returned if all the users were valid and added to the organization, no response payload is provided.

Changes