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
- application/json
Path Parameters
Root Schema : schema
Type:
Show Source
object
-
description:
string
-
scope:
string
Allowed scopes, further restricts user's permissions. Must be a simple space-separated string with allowed scopes ['read', 'write'].