Skip to main content
Version: 1.7.0

Admin - Generate an API key

GET 

/admin/generate-api-key

authorization

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

Generates a new API Key for the user. Old API Keys remains valid

Request

Query Parameters

    user_id UserIdrequired

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.

Responses

Schema

    api_keyAPIKeyrequired