PUT
/
access-token
/
{id}
curl --request PUT \
  --url https://app.teable.cn/api/access-token/%7Bid%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"name":"string","description":"string","scopes":["string"],"spaceIds":["string"],"baseIds":["string"]}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "scopes": [
    "<string>"
  ],
  "spaceIds": [
    "<string>"
  ],
  "baseIds": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Response

200 - application/json
Returns access token.

The response is of type object.