Deletes a rule from a policy.
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 |
---|---|
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. |
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. |
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 parameters are not required by this endpoint.
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers.
The response body for a successful request does not contain a response element.
The response body for an unsuccessful request will contain an error response that provides additional information.
A sample request is shown below.
DELETE https://api.vdms.io/rules-engine/v1.1/policies/54638/rules/123321 HTTP/1.1
Host: api.vdms.io
A sample response is shown below.
HTTP/1.1 204 No Content
Cache-Control: private
Date: Thu, 15 Apr 2021 12:00:00 GMT