lift_application_delete_lock #
On this page
Generated automatically from the published contract sources.
A script calls this action over HTTPS at POST https://tzcloud.turnzero.ai/v1/lift_application_delete_lock, with a bearer credential and the action's payload as the JSON body. An MCP connection lists this action as the tool tzcloud_lift_application_delete_lock.
OAuth access tokens and minted tokens, including the turnzero command's computer token, are bearer credentials. The action determines which kinds, scopes and grants it accepts (Sign-in, sessions, and tokens).
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.
Contract description #
Request removal of an application deletion lock. Use your signed-in session or a token minted with destructive. Give the approver the browser link. The lock lifts after approval.
More about this action #
Pass application, the ID of the application whose lock you want to remove. A token scoped to one application can request a lift only for that application. A credential with super_admin can name an application on another account.
The approval page identifies the application by label and shows its account ID. It also shows the reason and set time. The account owner approves a lift for their application. For a lift requested by an operator on another account, the operator approves.
Use read_approval_status to check the outcome. Approval removes only the lock shown. If the lock is removed or replaced before approval, the pending action is declined with outcome.error: description_changed. If the lock is removed or replaced after the approval check, the lift fails with not_locked. If the application has no lock at request time, the call refuses with not_locked and creates no pending action.
The call returns HTTP 202 with pending_action and approval_url. The approver opens approval_url in a browser.
Access and action metadata #
{
"name": "lift_application_delete_lock",
"resource": "application",
"tier": "destructive",
"surface": "tzcloud",
"addresses": [
"tzcloud"
],
"product": "cloud",
"clients": [
"bearer",
"browser_session"
],
"summary": "Request removal of an application deletion lock through browser approval.",
"annotations": {
"readOnlyHint": false,
"destructiveHint": true,
"openWorldHint": false
}
}
MCP catalog entry #
{
"name": "lift_application_delete_lock",
"title": "Lift application deletion lock",
"tier": "destructive",
"scenario": "CHI-L0-10",
"summary": "Request removal of an application deletion lock. Use your signed-in session or a token minted with `destructive`. Give the approver the browser link. The lock lifts after approval.",
"owners": [
"ACB-L0-110",
"MAPI-09"
]
}
request #
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | Type: object Required fields: ["application"] |
| / |
The ID of the application whose deletion lock to remove. A credential needs super_admin to specify an application on another account.Type: string |
| / |
Any string you choose. A repeat from the same account while that pending action is live returns it again, creating no second one. Omitted, every call creates a new one. Type: string |
response #
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | The pending action and its browser approval link. Use read_approval_status to check the outcome. Type: object Required fields: ["contract_version","pending_action","approval_url"] |
| / |
Required value: 1 |
| / |
The short reference the platform recorded your call under: ten lowercase hexadecimal characters, the value in the call’s record row. Quote it when you report the call. Type: string Pattern: ^[0-9a-f]{10}$ |
| / |
$ref: #/shapes/pending_action |
| / |
Type: string |
| / |
Type: string |
Complete payload contract #
{
"request": {
"type": "object",
"required": [
"application"
],
"properties": {
"application": {
"type": "string",
"description": "The ID of the application whose deletion lock to remove. A credential needs `super_admin` to specify an application on another account."
},
"request_id": {
"type": "string",
"description": "Any string you choose. A repeat from the same account while that pending action is live returns it again, creating no second one. Omitted, every call creates a new one."
}
}
},
"response": {
"type": "object",
"description": "The pending action and its browser approval link. Use read_approval_status to check the outcome.",
"required": [
"contract_version",
"pending_action",
"approval_url"
],
"properties": {
"contract_version": {
"const": 1
},
"reference": {
"type": "string",
"pattern": "^[0-9a-f]{10}$",
"description": "The short reference the platform recorded your call under: ten lowercase hexadecimal characters, the value in the call’s record row. Quote it when you report the call."
},
"pending_action": {
"$ref": "#/shapes/pending_action"
},
"approval_url": {
"type": "string"
},
"detail": {
"type": "string"
}
}
}
}
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