reinstate_end_user

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_end_user, with a bearer credential and the action's payload as the JSON body.

Contract description

Lift an end user's suspension so they can sign in again. An optional `environment` (`development` or `production`; absent, `production`) names the realm the call addresses, development's standing only once `create_environment` has turned development on.

Access and action metadata

{
  "name": "reinstate_end_user",
  "resource": "realm",
  "tier": "reversible",
  "summary": "Restore a suspended end user's standing.",
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": true,
    "openWorldHint": false
  }
}

MCP catalog entry

{
  "name": "reinstate_end_user",
  "tier": "reversible",
  "summary": "Lift an end user's suspension so they can sign in again. An optional `environment` (`development` or `production`; absent, `production`) names the realm the call addresses, development's standing only once `create_environment` has turned development on.",
  "owners": [
    "ACS-L0-01",
    "PLD-L0-40"
  ],
  "scenario": "ACS-L0-08"
}

request

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["application","end_user"]
Additional properties: false
/properties/application The application id, from `list_applications`.

Type: string
/properties/end_user The end user's opaque id, from `list_end_users`.

Type: string
/properties/environment Optional. The environment whose realm the call addresses, `development` or `production` (the accounts service PRD's realm statement); absent, `production`.

Type: string
Pattern: ^(development|production)$

response

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["contract_version","end_user"]
Additional properties: false
/properties/contract_version Required value: 1
/properties/end_user Type: object
Required fields: ["id","standing"]
Additional properties: false
/properties/end_user/properties/id Type: string
/properties/end_user/properties/standing Required value: active
/properties/detail Type: string

Complete payload contract

{
  "request": {
    "type": "object",
    "required": [
      "application",
      "end_user"
    ],
    "properties": {
      "application": {
        "type": "string",
        "description": "The application id, from `list_applications`."
      },
      "end_user": {
        "type": "string",
        "description": "The end user's opaque id, from `list_end_users`."
      },
      "environment": {
        "type": "string",
        "pattern": "^(development|production)$",
        "description": "Optional. The environment whose realm the call addresses, `development` or `production` (the accounts service PRD's realm statement); absent, `production`."
      }
    },
    "additionalProperties": false
  },
  "response": {
    "type": "object",
    "required": [
      "contract_version",
      "end_user"
    ],
    "properties": {
      "contract_version": {
        "const": 1
      },
      "end_user": {
        "type": "object",
        "required": [
          "id",
          "standing"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "standing": {
            "const": "active"
          }
        },
        "additionalProperties": false
      },
      "detail": {
        "type": "string"
      }
    },
    "additionalProperties": false
  }
}

Shared contracts