Update an Access Token
put
/api/v2/tokens/{id}/
Make a PUT or PATCH request to this resource to update this access token. The following fields may be modified:
-
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"
)
For a PUT request, include all fields in the request.
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
search(optional): string
A search term.
Root Schema : schema
Type:
Show Source
object
-
description(optional):
string
-
scope(optional):
string
Allowed scopes, further restricts user's permissions. Must be a simple space-separated string with allowed scopes ['read', 'write'].