Add Permanent Token to Permanent Tokens of a User
Request
POST <REST API URL>/users/{user id}/permanenttokens?fields=string
Parameter | Description |
---|---|
fields | Optional query parameter. Specifies a subset of the fields to be returned. Use Fields Syntax to define subset. |
Request Body
permanentToken
{
"id": string,
"name": string,
"token": string,
"scope": [service, ...],
"user": user,
"creationTime": calendar,
"lastAccessTime": calendar
}
Response
Response body
permanentToken
{
"id": string,
"name": string,
"token": string,
"scope": [service, ...],
"user": user,
"creationTime": calendar,
"lastAccessTime": calendar
}
Last modified: 6 April 2017