Update an API Token
Update an API Token's name or permissions.
Permissions
You can modify the functions allowed by this API Token by selecting which types of requests this API Token is allowed to make. Valid options are: calling, chat, fax, management, messaging, numbers, pubsub, storage, tasking, and video
Path Parameters |
---|
token_id — REQUIREDThe unique identifier of the token that you want to update. |
Request Body — REQUIRED |
---|
name stringThe name representing the API token. |
permissions arrayThe permissions you would like to enable for this token. Valid permissions are calling, chat, fax, management, messaging, numbers, pubsub, storage, tasking, and video |
Responses | ||||||
---|---|---|---|---|---|---|
200 OK
| ||||||
422 Unprocessable Entity. You may have specified invalid parameters.
|