Skip to main content

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 REQUIRED

The unique identifier of the token that you want to update.

Request Body REQUIRED
name string

The name representing the API token.

permissions array

The 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

Schema OPTIONAL
id string OPTIONAL

The ID of the created API Token.

name string OPTIONAL

The name of the created API Token.

permissions array OPTIONAL

The permissions enabled for this token.

token string OPTIONAL

The API token that can be used along with the project ID for basic authentication

422

Unprocessable Entity. You may have specified invalid parameters.

Schema OPTIONAL
type string
code string
message string
attribute string OPTIONAL
url uri