Generates an API key for the specified client application.
Generates an API key for the specified client application.
Requires an API user.
<Check title="Required Permissions">The user must be an admin or have `workspace-manage-config:read` permissions.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Path parameters
clientId
The id of the client application.
Request
The model to generate an API key.
apiUserId
The API user to generate the key for.
Response
OK
token_type
The type of the token, typically 'Bearer'.
expires_in
The expiration date of the access token, in seconds.
access_token
The access token.
refresh_token
The refresh token to get a new access token.