Skip to main content
Version: 1.6.0

Admin - Revoke a user usage permission on a key

DELETE 

/admin/keys/revoke-usage-permission

authorization

This API endpoint requires an API Key with at least one of the following Roles: SystemAdmin | KeysManager

Revokes a user usage permission on a key. The user is identified by its user_id and the key is identified by its key_id.

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Body

required

    oneOf

    key_namestringrequired
    user_idUserIdrequired

Responses