# Delete API key

The method allows you to delete the user's API key

### Request:

| **Parameter** | **Required** | **Type** | **Description** |
| ------------- | ------------ | -------- | --------------- |
| userId        | Yes          | String   | User ID         |
| keyId         | Yes          | String   | Api key ID      |

{% openapi src="<https://199856430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy7yrGizyjjV5OmCw3DcE%2Fuploads%2Fgit-blob-c16b91898f63e16257eb0e0b6bb8d49e7f547d73%2Fopenapi.json?alt=media>" path="/partner/api/delete-api-keys" method="post" %}
[openapi.json](https://199856430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy7yrGizyjjV5OmCw3DcE%2Fuploads%2Fgit-blob-c16b91898f63e16257eb0e0b6bb8d49e7f547d73%2Fopenapi.json?alt=media)
{% endopenapi %}
