aap_delete_organization
Delete an Ansible Automation Platform organization using a two-step token confirmation. Call once to request a token, then call again with the token to confirm and remove the organization.
Instructions
Delete an AAP organization. DESTRUCTIVE - requires confirmation token.
Call once without confirmation_token to get a token, then call again with the token to confirm deletion.
Args: params (DeleteOrgInput): - org_id (int): Organization ID - confirmation_token (Optional[str]): Token from first call
Returns: str: Confirmation request message, or success/error JSON.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "aap_delete_organization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |