deletePrivateApp
Requires permission settings:apps:manage.
Delete one of this organization's private apps. Uninstall it first. It disappears from Settings → Apps and its client id stops working. This cannot be undone.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
mutation DeletePrivateApp($appId: ID!) {
deletePrivateApp(appId: $appId) {
id
name
status
createdAt
appUrl
clientId
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation DeletePrivateApp($appId: ID!) {\n deletePrivateApp(appId: $appId) {\n id\n name\n status\n createdAt\n appUrl\n clientId\n }\n}",
"variables": {
"appId": "id"
}
}
EOF
Variables:
{
"appId": "id"
}
Response:
{
"data": {
"deletePrivateApp": {
"id": "id",
"name": "string",
"status": "string",
"createdAt": "2025-01-15T00:00:00Z",
"appUrl": "string",
"clientId": "string"
}
}
}
deletePrivateApp(
appId: ID!
): RegistryApp!
Arguments
deletePrivateApp.appId ● ID! non-null scalar
The private app to delete.
Type
RegistryApp object
An app in the app registry.