Payezydevelopers
Sandbox

API reference / Customer keys and view-as

Revoke a customer API key

POST/v1/platforms/{orgId}/customers/{customerId}/api-keys/{keyId}/revoke

Revoke a key this platform minted (platform:customer_keys). A key the customer created themselves is not_found and stays valid.

Before you call it

  • Organizationplatform
  • Permissionplatform:customer_keys

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list.
customerIdpath, uuidrequiredA customer organization linked to your platform.
keyIdpath, uuidrequiredAn API key id from the key list.

Response 204

Revoked

No body.