Delete a Customer API Key
Safely remove a customer API key via Admin API and revoke access tied to the deleted key. Supports fine-grained access control.
ποΈ Delete a Customer API Key
Remove a specific customer API key using the Admin API key. This revokes access associated with the deleted key.
πΉ HTTP Request
DELETE ADMIN-API-URL/customers/CUSTOMER-UID/api-keys/KEY-ID
πΈ URL Segments
Segment
Type
Required
Description
CUSTOMER-UID
string
Yes
Unique identifier of the customer
KEY-ID
string
Yes
ID of the API key to be deleted
π Authorization Header
X-ADMIN-API-KEY: your-admin-api-key-here
π Fields Available for Update
Field
Type
Required
Description
name
string
No
A label or title for the API key
description
string
No
Short description for internal use
ip_whitelist
string[]
No
List of IPs allowed to use this key
ip_blacklist
string[]
No
List of IPs blocked from using this key
β JSON Request Payload Example
{
"name": "My site",
"description": "This key is used on my site",
"ip_whitelist": ["123.123.123.123", "111.111.111.111"],
"ip_blacklist": ["231.231.231.231", "222.222.222.222"]
}π» PHP Example
π¦ Sample JSON Response
Last updated