Generates an API key for the specified client application.
Generates an API key for the specified client application. Requires an API user.
Required Permissions
The user must be an admin or haveworkspace-manage-config:read
permissions.Path parameters
clientId
The id of the client application.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
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.