---
title: "Revoke a hosted MCP/OpenAPI client registration"
method: POST
path: "/tenant/api-clients/revoke"
---

# Revoke a hosted MCP/OpenAPI client registration

`POST /tenant/api-clients/revoke`

## Request

- Base URL: `https://api.gravityads.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gravityads.dev/tenant/api-clients/revoke`
- Auth: HTTP bearer

## Request body

- object
  - `identifier` string, required
  - `reason` string

## Response `200`

Tenant API client revoked

- object
  - `status` 'tenant_api_client_revoked', required
  - `source` string
  - `tenant_id` string, required
  - `revoked_count` integer, required
  - `client_count` integer, required
  - `clients` object[], required
    - `id` string
    - `tenant_id` string
    - `client_id_hash` string
    - `display_name` string
    - `client_type` string
    - `allowed_redirect_uris` string[]
    - `scopes` string[]
    - `status` string
    - `created_at` string
    - `updated_at` string
  - `hosted_auth_context` object
  - `raw_client_id_returned` false, required
  - `raw_client_secret_returned` false, required
  - `raw_secrets_returned` false, required

---

[API](https://skmtc.dev/gravityads/apis/gravityads-api.md) · [All operations](https://skmtc.dev/gravityads/apis/gravityads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gravityads/apis/gravityads-api/revisions/124cd07d534d?raw)
