简体中文
Create access token
cURL
curl --request POST \ --url https://app.teable.cn/api/access-token \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"name":"string","description":"string","scopes":["string"],"spaceIds":["string"],"baseIds":["string"],"hasFullAccess":true,"expiredTime":"2024-03-25"}'
{ "id": "<string>", "name": "<string>", "description": "<string>", "scopes": [ "<string>" ], "spaceIds": [ "<string>" ], "baseIds": [ "<string>" ], "hasFullAccess": true, "expiredTime": "<string>", "token": "<string>", "createdTime": "<string>", "lastUsedTime": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns access token.
The response is of type object.
object