Skip to main content

Deactivate scenario

Description

The request is used to deactivate a scenario.

URL

Method: POST

https://example.com/api/v1.1/workflows/deactivate

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
idint1YesScenario ID
skip_profilesbooltrueNoClear the scenario before reactivating

Request example

{  
"token": "abcdefghijklmnqrstuvwxyz",
"id": 1,
"skip_profiles": true
}

Response example

{
"data": null,
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text