Generate API Key

Changed on

Generate a new API key for the authenticated user or superuser.

post/api/apikey/generate

Request

Headers

Authorizationstring

Bearer token for authentication.

Credimi-Api-Keystring

User API key or internal admin API key, depending on the endpoint.

Request body

namestring

Response

Successful response

api_keystring

Changes

    • breaking

      the response's property type changed from string to object for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the new optional header request parameter Authorization

    • info

      added the new optional header request parameter Credimi-Api-Key