Method
Creates a deployment token for the specified project.
REQUIRED |
KEY |
TYPE |
DESCRIPTION |
Yes |
projectId |
str |
The unique string identifier associated with the project.
|
No |
name |
str |
The name of the deployment token.
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.
KEY |
TYPE |
DESCRIPTION |
success |
Boolean |
true if the call succeeded, false if there was an error |
result |
DeploymentAuthToken |
KEY |
TYPE |
Description |
deploymentToken |
str |
The unique token used to authenticate requests. |
createdAt |
str |
The date and time when the token was created, in ISO-8601 format. |
name |
str |
The name associated with the authentication token. |
|
TYPE |
WHEN |
DataNotFoundError |
projectId is not found.
|