v22

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-01140308542.4 KB
svc-org-management_other

Get a specific service account credential

get/organizations/{organization_id}/service-accounts/{service_account_id}/credentials/{credential_id}

Path parameters

organization_idstring required

Organization ID or label identifier

Organization ID or label

service_account_idstring required

Identifier for API resources. A 26-char nanoid (URL/DNS safe).

Example:ab3def8hij2klm9opq5rst7uvw

Service account ID

credential_idstring required

Identifier for API resources. A 26-char nanoid (URL/DNS safe).

Example:ab3def8hij2klm9opq5rst7uvw

Credential ID

Query parameters

expand[]string[]

Fields to expand in the response. Supports "permissions" to include the permissions field with the caller's permissions for the resource. For list organization identities only, "total_count" populates pagination.total_count with the number of identities matching the same filters as the list (excluding cursor and limit). Other operations ignore expand values they do not use.

Headers

X-Client-Request-IDstring uuid

Unique request identifier specified by the originating caller and passed along by proxies.

Response

Credential details (without secret)

idstring required

Identifier for API resources. A 26-char nanoid (URL/DNS safe).

namestring required

A name for the entity to be displayed in UI

client_idstring required

The client ID for authentication

descriptionstring

Optional description of the credential

created_atstring date-time required

The time the entity was created in utc

last_used_atstring date-time

When the credential was last used

permissionsOrgManagementPermissions

Permissions granted to the authenticated principal for this resource. Only populated when the 'expand[]=permissions' query parameter is provided. Keys are resource types (e.g., "organizations"), values are objects mapping permission names to boolean values indicating if the permission is granted.

Example response

{
  "id": "ab3def8hij2klm9opq5rst7uvw",
  "client_id": "A1b2C3d4E5f6G7h8I9j0K",
  "permissions": {
    "organizations": {
      "read": true,
      "update": true
    },
    "users": {
      "read": true,
      "list": true
    }
  }
}