Atlassian Org Admin
Atlassian Org Admin manages managed accounts in an Atlassian organization. It calls the Organizations REST API and the User management REST API on https://api.atlassian.com.
This connector is separate from the regular Atlassian connector. That one uses a personal API token for Jira and Confluence. This one uses an organization API key and can block or restore login for managed accounts.
List Org Users returns managed accounts. It is the Get managed accounts operation, not a directory search of every person who can open a product.
Authentication Types
Atlassian Org Admin supports 1 authentication method:
- API key — an organization API key, sent as
Authorization: Bearer <key>.- Pros: The only auth the user management API accepts. One key works for both the Organizations API and the User management API.
- Cons: The key expires in at most one year. The admin who created it is the only person who sees the value. Forge apps and OAuth 2.0 apps cannot call the user management resources.
Configuration
| Field | Example |
|---|---|
| Atlassian Organization ID | a1b2c3d4-e5f6-7890-abcd-ef1234567890 |
The id is the {orgId} in https://admin.atlassian.com/o/{orgId}/overview. It is also shown when you create the API key.
Setting up an API key
Create the key as an organization admin.
- Go to Atlassian Administration. Select the organization if you have more than one.
- Select Organization settings, then API keys.
- Create an API key without scopes. Deactivate and activate are not named in the Cloud Admin API key scopes. Endpoints that are not listed there need a key without scopes. A key without scopes can call every admin API.
- Copy the API key immediately. Atlassian does not show it again. Keys last no longer than one year.
- Paste the key into Willow and enter the Organization ID.
A scoped key that includes read:accounts:admin can list managed accounts. Use an unscoped key for this connector so deactivate and activate are included.
See Manage an organization with the admin APIs.
Configure in Willow
- Go to MCP Servers → + Add MCP server.
- Open the Atlassian Org Admin card with the By Willow badge and click + Use.
- Choose API Key, paste the organization API key, and enter the organization id.
- Run List Org Users with no arguments. A
200with adataarray confirms the key and the organization id.
Available Tools
Managed accounts (2 tools)
- List Org Users —
GET /admin/v1/orgs/{orgId}/users. Managed accounts only. Page withcursor. Returnsaccount_id,email,name,account_status(active,inactive, orclosed),access_billable,last_active, andproduct_access.links.nextis a URL for the next page. Scope for a scoped key:read:accounts:admin. - Get Org User —
GET /users/{account_id}/manage/profile. One account: status, email, name, nickname, job title, department, and location. Forge and OAuth 2.0 apps cannot call this.
Account lifecycle (2 tools)
- Disable Org User —
POST /users/{account_id}/manage/lifecycle/disable. Blocks login. Optionalmessageis shown with the block. Returns204with no body. Needs thelifecycle.enablementprivilege. - Enable Org User —
POST /users/{account_id}/manage/lifecycle/enable. Restores login. Accounts blocked by US export controls cannot be reactivated. Cancel a pending deletion before reactivating a deleted account. Returns204, or409when the account is not eligible.
Troubleshooting
401 Unauthorized
Cause: The value is a Jira or Confluence personal API token, or the Bearer prefix was pasted into the key field. Willow adds Bearer.
Solution: Create an organization API key under Organization settings → API keys and paste only the key.
403 on disable or enable
Cause: The caller is not allowed to manage that account. The API returns this when the target account is unverified, or when an external SCIM or Google directory manages the user (externalDirectory.scim, externalDirectory.google).
Solution: Deactivate SCIM-managed and Google-managed users in the identity provider. Confirm the account is a managed account in the organization.
Scoped key can list users and then fails on disable
Cause: Deactivate and activate are not named on the Cloud Admin scope list. A key limited to read:accounts:admin is only documented for reading accounts.
Solution: Create an API key without scopes and replace the credential in Willow.
409 on enable or disable
Cause: The account is not eligible for that lifecycle action. Export-control blocks cannot be cleared with Enable Org User. A deleted account stays deleted until the deletion is canceled.
Solution: Read Get Org User and check account_status. Use Atlassian Support for an export-control block.
Additional Resources
- Organizations REST API introduction — API key as a bearer token, base URL, and
cursorpagination - User management REST API introduction — same API key,
https://api.atlassian.com/users/ - Cloud Admin scopes for API keys —
read:accounts:admin, and unscoped keys for unlisted endpoints - Manage an organization with the admin APIs — where to create and revoke the key
- Get managed accounts
- Get profile
- Lifecycle — deactivate and activate