suspend_account
Generated automatically from the published contract sources.
Build metadata: Registered in this build. Registration describes the default dispatcher in this build. It does not guarantee that a caller has the required credential or grant, that a tool is listed for that connection, or that the required service is configured.
A script calls this action over HTTPS at POST https://turnzero.ai/api/v1/actions/suspend_account, with a bearer credential and the action's payload as the JSON body.
Contract description
Suspend an account. Super-admin (platform operator) only. Every credential of the account — its sessions, its tokens, its applications' platform credentials — is refused everywhere, its deployed applications are stopped, and their published files are withdrawn, until `reinstate_account`.
Access and action metadata
{
"name": "suspend_account",
"resource": "account",
"tier": "reversible",
"clients": [
"bearer",
"browser_session"
],
"grant": "super_admin",
"summary": "Suspend an account's service; reinstate_account is the way back.",
"annotations": {
"readOnlyHint": false,
"destructiveHint": true,
"openWorldHint": true
}
}
MCP catalog entry
{
"name": "suspend_account",
"tier": "reversible",
"scenario": "API-L0-12",
"summary": "Suspend an account. Super-admin (platform operator) only. Every credential of the account — its sessions, its tokens, its applications' platform credentials — is refused everywhere, its deployed applications are stopped, and their published files are withdrawn, until `reinstate_account`.",
"owners": []
}
request
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | Type: object Required fields: ["subject_account"] |
| / |
The account id, from `list_accounts`. Type: string |
response
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | Type: object Required fields: ["contract_version","account"] |
| / |
Required value: 1 |
| / |
The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call. Type: string Pattern: ^[0-9a-f]{10}$ |
| / |
Type: object |
| / |
Type: string |
| / |
Type: object |
| / |
The tokens Turn Zero Blueprint's code exchange issued the suspended account that the suspension revoked after its serving walk (MCP-02; API-L0-12). A reinstatement restores none of them. Type: integer Minimum: 0 |
Complete payload contract
{
"request": {
"type": "object",
"required": [
"subject_account"
],
"properties": {
"subject_account": {
"type": "string",
"description": "The account id, from `list_accounts`."
}
}
},
"response": {
"type": "object",
"required": [
"contract_version",
"account"
],
"properties": {
"contract_version": {
"const": 1
},
"reference": {
"type": "string",
"pattern": "^[0-9a-f]{10}$",
"description": "The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call."
},
"account": {
"type": "object"
},
"detail": {
"type": "string"
},
"serving": {
"type": "object"
},
"exchange_tokens_revoked": {
"type": "integer",
"minimum": 0,
"description": "The tokens Turn Zero Blueprint's code exchange issued the suspended account that the suspension revoked after its serving walk (MCP-02; API-L0-12). A reinstatement restores none of them."
}
}
}
}
Shared contracts
- Refusals: every refusal, by surface, with its cause and its remedy
- schemas/wire_error.schema.json
- schemas/wire_errors.json
- schemas/action_payloads.json (includes shared shapes)
- management_api_contract.md