Skip to main content
DELETE
/
public
/
api-keys
/
{prefix}
Delete API key
curl --request DELETE \
  --url https://api.pcxpay.com/v1/public/api-keys/{prefix} \
  --header 'X-API-Key: <api-key>'
{
  "status": "success",
  "message": "Operation completed successfully",
  "data": {}
}

Authorizations

X-API-Key
string
header
required

API key issued by PCX. Pass the full key string in the X-API-Key request header. The key encodes your organisation and user identity and is verified on every request.

Path Parameters

prefix
string
required

Key prefix (first segment of the API key string)

Response

API key deleted

status
enum<string>
Available options:
success,
error
Example:

"success"

message
string
Example:

"Operation completed successfully"

data
object