{
  "opencollection": "1.0.0",
  "info": {
    "name": "Atlassian Admin API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get Organizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs",
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Sets the starting point for paginated results. Use the value returned in the previous response to retrieve the next page."
              }
            ]
          },
          "docs": "Returns a list of organizations accessible to the caller based on the API key used for authentication."
        },
        {
          "info": {
            "name": "Atlassian Get Organization by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs/:orgId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              }
            ]
          },
          "docs": "Returns information about a single organization by its unique identifier."
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get Managed Accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/users",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for paginated results."
              }
            ]
          },
          "docs": "Returns a list of managed user accounts in the organization. Results are paginated using cursor-based pagination."
        },
        {
          "info": {
            "name": "Atlassian Get Users in Directory",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v2/orgs/:orgId/directories/:directoryId/users",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "directoryId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the directory."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for paginated results."
              }
            ]
          },
          "docs": "Returns a paginated list of users in a specific directory within the organization."
        },
        {
          "info": {
            "name": "Atlassian Get User in Directory",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v2/orgs/:orgId/directories/:directoryId/users/:accountId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "directoryId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the directory."
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "The Atlassian account identifier of the user."
              }
            ]
          },
          "docs": "Returns details of a specific user in a directory within the organization."
        },
        {
          "info": {
            "name": "Atlassian Remove User From Directory",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.atlassian.com/v2/orgs/:orgId/directories/:directoryId/users/:accountId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "directoryId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the directory."
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "The Atlassian account identifier of the user."
              }
            ]
          },
          "docs": "Removes a user from a specific directory within the organization."
        },
        {
          "info": {
            "name": "Atlassian Get Directory User Count",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v2/orgs/:orgId/directories/:directoryId/users/count",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "directoryId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the directory."
              }
            ]
          },
          "docs": "Returns the count of users in a specific directory."
        },
        {
          "info": {
            "name": "Atlassian Invite Users to Organization",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/v2/orgs/:orgId/users/invite",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Invites one or more users to the organization, optionally assigning them to directories, groups, and application roles."
        },
        {
          "info": {
            "name": "Atlassian Suspend User Access",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/v2/orgs/:orgId/directories/:directoryId/users/:accountId/suspend",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "directoryId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the directory."
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "The Atlassian account identifier of the user."
              }
            ]
          },
          "docs": "Suspends a user's access within a specific directory of the organization."
        },
        {
          "info": {
            "name": "Atlassian Restore User Access",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/v2/orgs/:orgId/directories/:directoryId/users/:accountId/restore",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "directoryId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the directory."
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "The Atlassian account identifier of the user."
              }
            ]
          },
          "docs": "Restores a previously suspended user's access within a specific directory of the organization."
        },
        {
          "info": {
            "name": "Atlassian Grant User Product Access",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/users/:userId/roles/assign",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the user."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Grants a user access to organization products by assigning roles."
        },
        {
          "info": {
            "name": "Atlassian Revoke User Product Access",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/users/:userId/roles/revoke",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the user."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Revokes a user's access to organization products by removing roles."
        },
        {
          "info": {
            "name": "Atlassian List User Role Assignments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v2/orgs/:orgId/directories/:directoryId/users/:accountId/role-assignments",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "directoryId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the directory."
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "The Atlassian account identifier of the user."
              }
            ]
          },
          "docs": "Returns a list of role assignments for a specific user in a directory."
        },
        {
          "info": {
            "name": "Atlassian Assign Organization-level Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/users/:userId/role-assignments/assign",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the user."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Assigns an organization-level role to a user."
        },
        {
          "info": {
            "name": "Atlassian Remove Organization-level Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/users/:userId/role-assignments/revoke",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the user."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Removes an organization-level role from a user."
        }
      ]
    },
    {
      "info": {
        "name": "Domains",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get Organization Domains",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/domains",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for paginated results."
              }
            ]
          },
          "docs": "Returns a list of domains associated with the organization. Domains are used to claim and verify ownership of email domains for the organization."
        },
        {
          "info": {
            "name": "Atlassian Get Domain by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/domains/:domainId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "domainId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the domain."
              }
            ]
          },
          "docs": "Returns details of a specific domain associated with the organization."
        }
      ]
    },
    {
      "info": {
        "name": "Policies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get Organization Policies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/policies",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for paginated results."
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter policies by type."
              }
            ]
          },
          "docs": "Returns a list of policies configured for the organization. Policies define rules and controls for security, authentication, data residency, and other organizational governance settings."
        },
        {
          "info": {
            "name": "Atlassian Get Policy by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/policies/:policyId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "policyId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the policy."
              }
            ]
          },
          "docs": "Returns details of a specific policy by its unique identifier."
        },
        {
          "info": {
            "name": "Atlassian Update a Policy",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/policies/:policyId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "policyId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the policy."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing organization policy."
        }
      ]
    },
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get Organization Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/events",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for paginated results."
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Filter events from this date-time (ISO 8601 format). Returns events that occurred on or after this time."
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "Filter events up to this date-time (ISO 8601 format). Returns events that occurred on or before this time."
              },
              {
                "name": "action",
                "value": "",
                "type": "query",
                "description": "Filter events by action type."
              }
            ]
          },
          "docs": "Returns a paginated list of events for the organization. Events represent audit trail entries for actions performed within the organization, such as user changes, policy updates, and access modifications."
        },
        {
          "info": {
            "name": "Atlassian Get Event by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/events/:eventId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "eventId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the event."
              }
            ]
          },
          "docs": "Returns details of a specific organization event."
        }
      ]
    },
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get Organization Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/v1/orgs/:orgId/groups",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for paginated results."
              }
            ]
          },
          "docs": "Returns a list of groups within the organization. Groups are used to organize users and assign collective permissions."
        }
      ]
    }
  ],
  "bundled": true
}