service_accounts

Create a service account in an organization

post/admin/v1/organizations/{org_slug}/service-accounts

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/organizations/{org_slug}/service-accounts
  • Auth: HTTP bearer

Path parameters

org_slugstring required

Organization slug

Request body

descriptionstring nullable

Optional description

namestring required

Display name

rolesstring[]

Roles to assign (freeform strings, defaults to empty)

slugstring required

URL-friendly identifier (lowercase alphanumeric with hyphens)

Response

Service account created

created_atstring date-time required

When the service account was created

descriptionstring nullable

Optional description

idstring uuid required

Unique identifier

namestring required

Display name

org_idstring uuid required

Organization this service account belongs to

rolesstring[] required

Roles assigned to this service account (used in RBAC evaluation)

slugstring required

URL-friendly identifier (unique within org)

updated_atstring date-time required

When the service account was last updated

Changes

No recorded changes to this operation across all 1 revision of this API.