Create an Access Token for a User

post

/api/v2/users/{id}/personal_tokens/

Make a POST request to this resource with the following access token fields to create a new access token associated with this user.

  • description: Optional description of this access token. (string, default="")

  • scope: Allowed scopes, further restricts user's permissions. Must be a simple space-separated string with allowed scopes ['read', 'write']. (string, default="write")

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : UserPersonalToken
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Body ()
Root Schema : UserPersonalToken
Type: object
Show Source
Back to Top