Skip to content

Revoke API Key

POST
/api/ApiKeys/{id}/revoke
curl --request POST \
--url https://example.com/api/ApiKeys/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revoke \
--header 'Authorization: Bearer <token>'

Immediately invalidates the key. Existing requests in flight may complete; subsequent ones are rejected.

id
required
string format: uuid
merchantId
string format: uuid

No Content

Not Found

Media type application/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}