Skip to main content
POST
Rotate service account token

Authorizations

Authorization
string
header
required

Enter a Forge service-account token or delegated OAuth access token. Mintlify adds the Bearer prefix.

Path Parameters

organizationId
string
required
serviceAccountId
string
required

Body

application/json
reason
string
required
idempotencyKey
string
required
name
string
scopes
string[]
tokenExpiresInSeconds
integer
Required range: x >= 1

Response

Newly rotated one-time token secret.

serviceAccount
object
required
token
object