DELETE
/
api
/
v1
/
csp
/
apikey
/
{secret_key}
Revoke API Key
curl --request DELETE \
  --url https://sandbox.paylias.xyz/gateway/api/v1/csp/apikey/{secret_key} \
  --header 'Authorization: Bearer <token>' \
  --header 'idempotency-key: <idempotency-key>' \
  --header 'x-partner-id: <x-partner-id>'
{
  "ok": true,
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-partner-id
string
default:""
required

The Partner ID header used for authorization

idempotency-key
string
default:""
required

The Idempotency Key - usually a UUID

Path Parameters

secret_key
string
required

The API secret key

Example:

"36BFB7C90C7A1D3D4E09E2E2C05DDD3E"

Response

200
application/json

Successful rotation of API key details

Standard response structure for successful operations