# 40133: Wrong API key for token revocation Identifier: `wrong_api_key_for_token_revocation` A token revocation request was rejected because it was made with a different API key from the one that issued the tokens. Tokens can only be revoked using the key that issued them. ## What you should do Make the [revocation request](https://ably.com/docs/auth/revocation.md) using the same API key that issued the tokens. The key you authenticate the request with must match the key named in the request path (`/keys/{keyName}/revokeTokens`). This is always a request error rather than a transient one, so correct the key and retry. ## Why it happens The request authenticated with one API key but targeted a different key's tokens. This commonly happens because the `keyName` in the path belongs to another key, or the request was signed with the wrong key of an app that has several. ## What you'll see The error is reported with code 40133 and HTTP status 401. The message is `Can only revoke tokens using the same key that issued them`.