DelScenario

View as Markdown

Deletes the scenario.

Allowed roles: Owner, Admin, Developer.

Example request: Delete the scenario 1 and 3.

Authentication

AuthorizationBearer
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the `Authorization` header as a Bearer value: ``` Authorization: Bearer $VOXIMPLANT_TOKEN ``` See [Authorization](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.

Query parameters

scenario_idlist of integersOptional

The scenario ID list separated by semicolons (;). Use the ‘all’ value to delete all scenarios in all applications. Required unless scenario_name is provided.

scenario_namelist of stringsOptional

The scenario name list separated by semicolons (;). Required unless scenario_id is provided.

Response

Successful response
resultinteger
Returns 1 if the request has been completed successfully