# 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.

Requires: organization platform; permission platform:customer_keys

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/platforms/$ORG_ID/customers/$CUSTOMER_ID/api-keys/$KEY_ID/revoke" \
  -H "Authorization: Bearer $PAYEZY_KEY"
```
