Hi everyone,
We’re excited to announce the general availability of new public Organization APIs, empowering all organization admins to automate their workflows! These APIs are available to organizations on both the original and centralized user management experiences.
For admins on the original user management experience, having APIs to automate user and group management tasks has been a long-standing request. With this release, you can now simplify your workflows and integrate with internal systems, streamlining your job.
The following 10 APIs are now generally available:
Directory:
GET /v2/orgs/{orgId}/directories
Group management:
POST /v2/orgs/{orgId}/directories/{directoryId}/groups
DEL /v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}
POST /v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/role-assignments/assign
POST /v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/role-assignments/revoke
POST /v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/memberships
DEL /v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/memberships/{accountId}
User management:
POST /v2/orgs/{orgId}/directories/{directoryId}/users/{accountId}/suspend
POST /v2/orgs/{orgId}/directories/{directoryId}/users/{accountId}/restore
Remove user from directory
DEL /v2/orgs/{orgId}/directories/{directoryId}/users/{accountId}
Organizations with the centralized user management experience will only have one directory. Organizations with the original user management experience may have multiple directories, and can use the 'Get directories' API to specify which directory (or userbase) to make updates to.
While similar APIs have existed for centralized user management, this update extends those capabilities to organizations using the original user management experience ensuring everyone can benefit from API-powered automation.
With the general availability of these new APIs, we’ll soon begin deprecating the following equivalent v1 Organization APIs.
Group management:
POST /v1/orgs/{orgId}/directory/groups
DEL /v1/orgs/{orgId}/directory/groups/{groupId}
POST /v1/orgs/{orgId}/directory/groups/{groupId}/roles/assign
POST /v1/orgs/{orgId}/directory/groups/{groupId}/roles/revoke
POST /v1/orgs/{orgId}/directory/groups/{groupId}/memberships
DEL /v1/orgs/{orgId}/directory/groups/{groupId}/memberships/{accountId}
User management:
POST /v1/orgs/{orgId}/directory/users/{accountId}/suspend-access
POST /v1/orgs/{orgId}/directory/users/{accountId}/restore-access
DEL /v1/orgs/{orgId}/directory/users/{accountId}
These v1 APIs will remain available until 30 June 2026. After this date, they will be fully deprecated.
We recommend starting your migration to the new APIs as soon as possible to take advantage of improved functionality and consistency.
We’re excited to see how you use these new APIs to supercharge your admin workflows!
If you have feedback, questions, or want to share how your organization is using these APIs, drop a comment below. We’d love to hear from you!
Aneita
Aneita
Senior Product Manager, Atlassian Access
7 accepted answers
4 comments