Skip to main content
DELETE
/
v1
/
api-keys
/
sub-keys
/
{key_id}
Revoke Sub-API Key
curl --request DELETE \
  --url https://api.io.solutions/v1/api-keys/sub-keys/{key_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-api-key: <x-api-key>'
{
  "status": "succeeded"
}
Revocation is permanent and immediate. Once revoked, the key cannot be restored. Issue a new sub-key if access needs to be reinstated.
Any in-flight request that was authenticated before revocation may still complete. Revocation takes effect for all new authentication attempts.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-api-key
string
required

Admin API key that owns the sub-key. Admin API key (io.net Intelligence)

Path Parameters

key_id
string<uuid>
required

UUID of the sub-key to revoke.

Response

Sub-key revoked successfully

status
string
Example:

"succeeded"