Skip to navigation

DelRule

View as Markdown

Deletes the rule.

Allowed roles: Owner, Admin, Developer.

Example request: Delete the rule 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 for ready-to-copy snippets in bash, Python, Node.js and Go that turn your credentials.json into a token.

Query parameters

rule_idlist of integersOptional

The rule ID list separated by semicolons (;). Use the 'all' value to select all rules. Required unless rule_name is provided.

rule_namelist of stringsOptional

The rule name list separated by semicolons (;). Required unless rule_id is provided.

application_idlist of integersOptional

The application ID list separated by semicolons (;). Use the 'all' value to select all applications. Required unless application_name is provided.

application_namelist of stringsOptional

The application name list separated by semicolons (;). Required unless application_id is provided.

Response

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