cURL
curl --request POST \ --url https://api.comm.com/api/v1/platform/team/tokens \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "scope_all": true, "scopes": [ { "method": "get", "endpoint": "<string>", "reason": "<string>" } ] } '
{ "data": { "id": "<string>", "name": "<string>", "access_token": "<string>", "scopes": { "data": [ { "method": "get", "endpoint": "<string>", "reason": "<string>" } ] }, "team_id": "<string>", "created_at": "<string>", "updated_at": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
if true will allow all scopes
Show child attributes
get
post
patch
delete
*
* is a wildcard for all endpoints
TeamAccessTokenData