customers
Revoke a customer API key
Revokes one of this customer's keys, which then stops authenticating. Keys are never deleted: a revoked key stays listed with revokedAt set, and deleting the customer revokes its keys too. Revoking an already revoked key returns it unchanged. 404 when the key does not belong to this customer. Use the value returned as customer.id, for example cus_abc123; if you have your own customer ID, use the /api/v2/customers/external/{externalId}/… twin.
delete/customers/{id}/api-keys/{apiKeyId}
Request
- Base URL: https://api.agentpaid.io/api/v2
- URL: https://api.agentpaid.io/api/v2/customers/{id}/api-keys/{apiKeyId}
- Auth: HTTP bearer
Path parameters
idstring required
Paid customer display id
apiKeyIdstring uuid required
The key's id, as returned by create or list.
Response
200
Changes
No recorded changes to this operation across all 1 revision of this API.