Update an API Token
Update an API Token's name or permissions.
Path Parameters |
---|
AccountSid uuid — REQUIREDThe unique identifier for the project you want to use to authenticate this request. |
token_id uuid — REQUIREDThe unique identifier of the project API token that you want to update. |
Request Body — REQUIRED |
---|
name stringThe name representing the project API token. |
permissions string[]The permissions you would like to enable for this project API 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.
|