Delete Rule

Deletes a rule from a policy.

Request

A request to delete a rule is described below.

HTTP Method Request URI

DELETE

https://api.vdms.io/rules-engine/v1.1/policies/PolicyID/rules/RuleID

Define the following variables when submitting the above request:

VariableA variable represents a value that must be replaced. A variable consists of either a URL segment (e.g., "0001" in /0001/) or a query string value (e.g., "3" in mediaTypes=3). Description

PolicyID

Required

Replace this variable with the system-defined ID corresponding to the desired policy.

Use the Get All Policies endpoint to retrieve a list of policies and their system-defined IDs.

RuleID

Required

Replace this variable with the system-defined ID corresponding to the desired rule.

Use the Get All Policies or the Get Policy endpoint to retrieve the rules associated with a policy.

Request Headers

This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.

Unlike requests to api.edgecast.com, requests to our API gateway (api.vdms.io) require an access token (OAuth).

Request Body

Request body parameters are not required by this endpoint.

Response

The response to the above request includes an HTTP status code, response headers, and a response body.

Status Code

A status code indicates whether the request was successfully performed.

Response Headers

The response for this endpoint only includes standard HTTP response headers.

View common response headers.

Response Body

The response body for a successful request does not contain a response element.

Errors

The response body for an unsuccessful request will contain an error response that provides additional information.

Sample Request and Response

A sample request is shown below.

A sample response is shown below.

HTTP/1.1 204 No Content

Cache-Control: private

Date: Thu, 15 Apr 2021 12:00:00 GMT