v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
clientApplications

Generates an API key for the specified client application.

<Check title="Required Permissions" icon="key">The user must be an admin or have workspace-manage-config:read permissions.</Check>

post/clientapplications/{clientId}/generateapikey

Path parameters

clientIdstring required

The id of the client application.

Headers

Authorizationstring required

Bearer authentication

Request body

apiUserIdstring uuid

The API user to generate the key for.

Response

OK

token_typestring nullable

The type of the token, typically 'Bearer'.

expires_ininteger

The expiration date of the access token, in seconds.

access_tokenstring nullable

The access token.

refresh_tokenstring nullable

The refresh token to get a new access token.