English
Create access token
cURL
curl --request POST \ --url http://127.0.0.1:3000/api/access-token \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "scopes": [ "<string>" ], "expiredTime": "2024-03-25", "description": "<string>", "spaceIds": [ "<string>" ], "baseIds": [ "<string>" ], "hasFullAccess": true } '
{ "id": "<string>", "name": "<string>", "scopes": [ "<string>" ], "expiredTime": "<string>", "token": "<string>", "createdTime": "<string>", "lastUsedTime": "<string>", "description": "<string>", "spaceIds": [ "<string>" ], "baseIds": [ "<string>" ], "hasFullAccess": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
"2024-03-25"
Returns access token.
Was this page helpful?