openapi: 3.1.0 info: title: CyberArk Identity REST Authentication OAuth API version: 2026-05 description: 'CyberArk Identity (formerly Idaptive) REST API. Provides authentication, OAuth/OIDC token issuance, user and organization management, extended user attributes/schema, and SCIM v2 user/group provisioning against a CyberArk Identity tenant. Best-effort spec derived from publicly indexed CyberArk Identity developer documentation (api-docs.cyberark.com, docs.cyberark.com, and third-party API directory listings). The authoritative reference is https://api-docs.cyberark.com/identity-docs-api/docs/identity-apis. The host should be set to your CyberArk Identity tenant URL — e.g. https://aab1234.id.cyberark.cloud. ' contact: name: CyberArk Developer Hub url: https://api-docs.cyberark.com/identity-docs-api/docs/identity-apis license: name: Proprietary servers: - url: https://{tenant}.id.cyberark.cloud description: CyberArk Identity tenant variables: tenant: default: aab1234 description: Your CyberArk Identity tenant prefix. security: - BearerAuth: [] tags: - name: OAuth paths: /OAuth2/Token/{appId}: post: tags: - OAuth summary: Issue an OAuth 2.0 token for a registered OAuth app parameters: - in: path name: appId required: true schema: type: string security: - BasicAuth: [] requestBody: required: true content: application/x-www-form-urlencoded: schema: type: object required: - grant_type properties: grant_type: type: string enum: - client_credentials - password - authorization_code - refresh_token scope: type: string username: type: string password: type: string code: type: string refresh_token: type: string responses: '200': description: Access token issued content: application/json: schema: $ref: '#/components/schemas/OAuthToken' components: schemas: OAuthToken: type: object properties: access_token: type: string token_type: type: string example: Bearer expires_in: type: integer refresh_token: type: string scope: type: string securitySchemes: BearerAuth: type: http scheme: bearer bearerFormat: JWT description: OAuth 2.0 / OIDC bearer token issued by /OAuth2/Token/{appId}. BasicAuth: type: http scheme: basic description: HTTP Basic with OAuth client credentials, used only for /OAuth2/Token/{appId}. externalDocs: description: CyberArk Identity API reference url: https://api-docs.cyberark.com/identity-docs-api/docs/identity-apis