Update a deployment
PUT https://hub2.trylevel2.com/broker/update_user_deploymentDeploys or undeploys a user-created strategy based on the provided parameters.
Request:
QUERY PARAMETERS
QUERY PARAMETERS
Required Parameters
All fields listed below are mandatory to successfully update a deployment status.
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| deployment_id | integer | Required | The unique identifier of the specific deployment instance to update. |
| user_email | email | Required | The registered email address of the user associated with the deployment. |
| should_delete | boolean | Required | Set to true to undeploy (delete) the strategy; set to false to deploy. |
Responces:
Successful response with deployment update confirmation 200
SCHEMA
SCHEMA
EXAMPLE
EXAMPLE
{
"message": "Operation completed successfully"
}Responces:
Internal Server Error 500
SCHEMA
SCHEMA
| Parameter | Type | Description |
|---|---|---|
| error | string | A descriptive message detailing the specific issue encountered. |
EXAMPLE
EXAMPLE
{
"error": "An unexpected error occurred"
}Last updated on