v22

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

Create a new credential for a service account

post/organizations/{organization_id}/service-accounts/{service_account_id}/credentials

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

Headers

X-Client-Request-IDstring uuid

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

Request body

namestring required

A name for the entity to be displayed in UI

descriptionstring

Optional description of the credential

Response

Credential created successfully (client_secret is only shown once)

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

client_secretstring required

The client secret

descriptionstring

Optional description of the credential

created_atstring date-time required

The time the entity was created in utc

Example response

{
  "id": "ab3def8hij2klm9opq5rst7uvw",
  "client_id": "A1b2C3d4E5f6G7h8I9j0K",
  "client_secret": "a1B2c3D4e5F6g7H8i9J0k1L2m3N4o5P6q7R8s9T0u1V2w3X4y5Z6A7B8c9D0e1F2"
}