Service & Management Client API Reference
Manage your Pangea API Clients through the Access APIs
Base URL
authorization.access.<csp>.<region>.pangea.cloud
curl -sSLX GET 'https://authorization.access.aws.us.pangea.cloud/.well-known/oauth-authorization-server' \
-H 'Content-Type: application/json'
Response
Get OAuth Authorization Server Metadata
Provides OAuth 2.0 Authorization Server metadata, including supported grant types, token endpoints, and other relevant discovery information.
curl -sSLX POST 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/token' \
-H 'Authorization: Basic base64<clientId:clientSecret>' \
-H 'Content-Type: application/x-www-form-urlencoded'
Response
Get Access Token
Exchanges valid client credentials (client_id and client_secret) for an access token using the client_credentials grant type.
curl -sSLX POST 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/token/revoke' \
-H 'Authorization: Basic base64<clientId:clientSecret>' \
-H 'Content-Type: application/x-www-form-urlencoded'
Response
Revoke Access Token
Revokes a previously issued token, preventing any further use for protected resource access.
curl -sSLX POST 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/token/introspect' \
-H 'Authorization: Basic base64<clientId:clientSecret>' \
-H 'Content-Type: application/x-www-form-urlencoded'
Response
Introspect Access or Refresh Token
Checks an access token or refresh token to determine if it is active, and retrieves additional metadata such as expiry and associated scopes.
curl -sSLX POST 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/register' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Create Platform Client
Registers a new OAuth client with the authorization server by specifying client information such as name, grant types, and scopes. Note that scopes define which API routes the client can access, while roles define object-level permissions. For example, a scope like 'pangea:service:ai-guard:read' may allow calling AI Guard endpoints, but the client also needs a corresponding role (e.g., 'type:service_ai_guard_config,role:manager') to be fully authorized. Both scopes and roles must be granted to ensure the client has complete access to the intended resources.
curl -sSLX GET 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json'
Response
List platform clients
Retrieves a paginated list of registered OAuth clients, with optional filters for name, client_id, and creation or update time.
curl -sSLX GET 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json'
Response
Get Platform Client
Fetches detailed information about a specific OAuth client by its unique identifier.
curl -sSLX POST 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Update Platform Client
Updates an existing OAuth client's configuration, such as grant types, redirect URIs, or scope.
curl -sSLX DELETE 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json'
Response
No content
Delete Platform Client
Removes an OAuth client and invalidates any tokens issued to it.
curl -sSLX POST 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}/secrets' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Create Client Secret
Generates and returns a new client secret for an existing OAuth client, typically used for client authentication.
curl -sSLX GET 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}/secrets/metadata' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json'
Response
List Client Secret Metadata
Retrieves metadata for all secrets associated with the specified OAuth client, including creation time, name, and expiration.
curl -sSLX DELETE 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}/secrets/{client_secret_id}' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json'
Response
No content
Revoke Client Secret
Invalidates a specific client secret, preventing its further use for token requests.
curl -sSLX POST 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}/secrets/{client_secret_id}' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Update Client Secret
Modifies metadata for an existing client secret, such as its expiration or descriptive fields.
curl -sSLX GET 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}/roles' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json'
Response
List Client Roles
Retrieves roles currently assigned to a particular OAuth client, optionally filtered by resource type or role name.
curl -sSLX POST 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}/grant' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Grant Client Access
Assigns or updates roles and scopes to extend the client’s permissions for accessing specific resources or operations.
curl -sSLX POST 'https://authorization.access.aws.us.pangea.cloud/v1beta/oauth/clients/{id}/revoke' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
Revoke Client Access
Removes previously assigned roles or scopes from the specified OAuth client, reducing or revoking its permissions.
Status Codes
Was this article helpful?