Method
setAutoDeployment POST
Copy POST

Enable or disable auto deployment for the specified deployment.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes deploymentId str The unique ID associated with the deployment.
No enable bool Enable or disable the autoDeploy property of the deployment.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
DataNotFoundError

deploymentId is not found.

Language: