UserService

CreateUserAccessToken creates a new access token for a user.

post/api/v1/users/{user}/accessTokens

Path parameters

userstring required

The user id.

Query parameters

accessTokenIdstring

Optional. The access token ID to use.

Request body

namestring

The resource name of the access token. Format: users/{user}/accessTokens/{access_token}

accessTokenstring

Output only. The access token value.

descriptionstring

The description of the access token.

issuedAtstring date-time

Output only. The issued timestamp.

expiresAtstring date-time

Optional. The expiration timestamp.

Response

OK

namestring

The resource name of the access token. Format: users/{user}/accessTokens/{access_token}

accessTokenstring

Output only. The access token value.

descriptionstring

The description of the access token.

issuedAtstring date-time

Output only. The issued timestamp.

expiresAtstring date-time

Optional. The expiration timestamp.

Changes