Skip to main content
PATCH
Update organization settings

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
serviceAccountsEnabled
boolean
required
mcpEnabled
boolean
required
mcpReadOnly
boolean
required
blockDestructiveMcp
boolean
required
builtInAgentEnabled
boolean
required
maxServiceAccountTokenLifetimeSeconds
integer
required
Required range: x >= 1
allowedServiceAccountScopes
string[]
required
allowedServiceAccountCidrs
string[]
required
reason
string
required
idempotencyKey
string
required
confirm
boolean
required

Response

Organization headless security settings updated.

settings
object
required