Skip to main content
DELETE
/
v1
/
dev
/
keys
/
{key_id}
Revoke API key
curl --request DELETE \
  --url https://api.omi.me/v1/dev/keys/{key_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "Invalid API key"
}

Authorizations

Authorization
string
header
required

Developer API key. Get one from Settings → Developer → Create Key in the Omi app. Keys are prefixed with omi_dev_.

Path Parameters

key_id
string
required

The ID of the key to revoke.

Response

Key revoked successfully.