Miracle Docs
Api keys

Revoke an API key (DELETE variant)

Revokes an active API key. Once revoked, the key cannot authenticate further requests. Revocation is permanent — issue a new key if access is needed again. Soft delete: the record is preserved for audit.

DELETE
/v1/api-keys/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

curl -X DELETE "https://<api-host>/v1/api-keys/string"
Empty
Empty
Empty

On this page