> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/002_ten_dlc/007__revoke_api_key_authorization.md).

# Revoke 10DLC Api Key Authorization

GraphQL endpoint: `/company`

Revokes a previously granted 10DLC API key authorization, removing the other company's access to the key. Returns the ID of the revoked authorization. Only the company that owns the API key can revoke its authorizations.

## Query

```graphql
mutation ($authorizationId: UUID!) {
  revokeTenDlcApiKeyAuthorization(authorizationId: $authorizationId)
}

```

## Variables

```json
{
  "authorizationId": "00000000-0000-4000-8000-000000000001"
}
```

## Response

```json
{
  "data": {
    "revokeTenDlcApiKeyAuthorization": "00000000-0000-4000-8000-000000000001"
  }
}
```
