Skip to main content
POST
Retire a service account for good: every token is revoked and its project access ends
No plan can call this operation today. It needs a personal access token, and Nitsor does not issue personal access tokens.

Authorizations

Authorization
string
header
required

An Agent credential (nits_…), or a person token (nitp_…) on a deployment that enables them. GET /api/v1/session names the principal a credential proves.

Path Parameters

id
string
required

The service account's id.

Required string length: 1 - 200

Body

application/json
idempotencyKey
string
required
Required string length: 1 - 200
reason
string
Maximum string length: 500

Response

Retire a service account for good: every token is revoked and its project access ends

changed
boolean
required
revokedTokens
integer
required
Required range: x >= 0
serviceAccount
object
required