Teams

Deprecated. This method will be removed in future versions of TSB. Use Service Accounts instead.

Generate the tokens for a local user account so it can authenticate against management plane. This method will return an error if the user account is not of type MANUAL. Credentials for normal platform users must be configured in the corresponding Identity Provider.

post/v2/organizations/{organization}/users/{user}:generateTokens

Request

Path parameters

organizationstring required

Organization name.

userstring required

User name.

Response

A successful response.

accessTokenstring

Bearer access token that can be used to access TSB. This token is usually short-lived. The refresh token, when present, can be used to obtain a new access token when it expires.

refreshTokenstring

Refresh token that can be used to obtain a new Bearer access token. This token is usually long-lived and should be stored securely.

Changes

No recorded changes to this operation across all 3 revisions of this API.