Generate a new API Token
Generate an API Token for a project to be used to authenticate requests within the project.
Path Parameters |
---|
AccountSid uuid — REQUIREDThe unique identifier for the project you want to use to authenticate this request. |
Request Body — REQUIRED |
---|
name string — REQUIREDThe name representing the project API token. |
permissions string[] — REQUIREDThe 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 |
subproject_id stringThe unique identifier of the subproject you would like to create a token for. The subproject passed must be a child of the project used to authenticate the request. |
Responses | ||||||
---|---|---|---|---|---|---|
200 OK
| ||||||
422 Unprocessable Entity. You may have specified invalid parameters.
|