Skip to main content

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​

FieldExample
Atlassian Organization IDa1b2c3d4-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.

  1. Go to Atlassian Administration. Select the organization if you have more than one.
  2. Select Organization settings, then API keys.
  3. 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.
  4. Copy the API key immediately. Atlassian does not show it again. Keys last no longer than one year.
  5. 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​

  1. Go to MCP Servers → + Add MCP server.
  2. Open the Atlassian Org Admin card with the By Willow badge and click + Use.
  3. Choose API Key, paste the organization API key, and enter the organization id.
  4. Run List Org Users with no arguments. A 200 with a data array 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 with cursor. Returns account_id, email, name, account_status (active, inactive, or closed), access_billable, last_active, and product_access. links.next is 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. Optional message is shown with the block. Returns 204 with no body. Needs the lifecycle.enablement privilege.
  • 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. Returns 204, or 409 when 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​