Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgSlug
string
required
saSlug
string
required

Body

application/json
name
string
description
string
roleSlug
string
scopes
string[]
disabled
boolean

Response

Success

id
string
userId
string

Synthetic user ID used in JWT sub (sa:{orgSlug}:{slug})

orgSlug
string
slug
string
name
string
description
string
roleSlug
string

Organization role assigned to this service account

scopes
string[]

Optional scope restrictions (empty means all permissions from roleSlug)

disabled
boolean
lastUsedAt
string<date-time>
createdBy
string
updatedBy
string
createdAt
string
updatedAt
string