reinstate_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/reinstate_account, with a bearer credential and the action's payload as the JSON body.
Contract description
Lift an account's suspension: its credentials are admitted again, its applications are started, and their published files restored; its next session begins at the sign-in page. Super-admin (platform operator) only.
Access and action metadata
{
"name": "reinstate_account",
"resource": "account",
"tier": "reversible",
"clients": [
"bearer",
"browser_session"
],
"grant": "super_admin",
"summary": "Lift a suspension, restoring service.",
"annotations": {
"readOnlyHint": false,
"destructiveHint": true,
"openWorldHint": true
}
}
MCP catalog entry
{
"name": "reinstate_account",
"tier": "reversible",
"scenario": "API-L0-12",
"summary": "Lift an account's suspension: its credentials are admitted again, its applications are started, and their published files restored; its next session begins at the sign-in page. Super-admin (platform operator) only.",
"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 |
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"
}
}
}
}
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