Skip to main content
POST
Create service account

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

Body

application/json
name
string
required
permissionRole
enum<string>
required
Available options:
admin,
analyst,
viewer
scopes
string[]
required
Minimum array length: 1
reason
string
required
idempotencyKey
string
required
description
string
tokenName
string
tokenExpiresInSeconds
integer
Required range: x >= 1

Response

Service account and one-time token secret.

serviceAccount
object
required
token
object