/tokens
POST
/tokensCreate a permanent bearer token for your Team. Make sure to set an expiration date that suits your needs.
Request
Query Params
expiration
string <date-time> | null
optional
name
string | null
optional
once
boolean
optional
Default:
false
scopes
optional
Any of
team
optional
Any of
Request samples
Responses
OK(200)
Bad Request(400)
413(413)
415(415)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
createdAt
string <date-time>
required
expiration
string <date-time>
required
id
string <uuid>
required
name
string
required
teamId
optional
Any of
token
string
required
Example
{
"createdAt": "2019-08-24T14:15:22.123Z",
"expiration": "2019-08-24T14:15:22.123Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",
"token": "string"
}
Last modified: 11 days ago