Skip to main content
POST
/
user-resource
/
token
Create Token
curl --request POST \
  --url https://api.tenbytecloud.com/v1/user-resource/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'apikey: <api-key>' \
  --data billing_account_id=0 \
  --data 'description=<string>' \
  --data restricted=true
[
  {
    "billing_account_id": 6,
    "consumer_id": "9b68f9e5-34a5-41bb-8938-944c17e38723",
    "created_at": "2018-02-22 14:24:02",
    "description": "Token Description",
    "id": 7,
    "restricted": true,
    "token": "PS2vfOCKuU52be83QZhMMndqOusfFkHr",
    "user_id": 8
  }
]

Authorizations

apikey
string
header
required

Body

application/x-www-form-urlencoded
billing_account_id
integer
default:0
description
string
restricted
boolean

Response

200 - application/json

List of tokens