Skip to main content
Version: 1.7.0

Admin - Revoke an API key

DELETE 

/admin/revoke-api-key

authorization

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

Revokes an API Key. The API Key is invalidated and can no longer be used to authenticate the user in the subsequent API calls via the AUTHORIZATION header.

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

    api_keyAPIKeyrequired
    user_idUserIdrequired

Responses