Delete a Streaming Rule
Deletes a streaming rule from the database.
With this service method, you can delete a streaming rule.
Request
URI: /v1/projects/<projectId>/stream-rules/<ID>
HTTP Method: DELETE
Permissions: <rule>.d
Request Headers
| Header | Required | Values |
|---|---|---|
| If-match | Yes | Check if cached version matches current server version of the streaming rule. |
Request Parameters
| Parameter | Required | Data Type | Description | Parameter Type |
|---|---|---|---|---|
| projectId | Yes | string | Unique ID of the rule project to which the rule is assigned. | Path |
| ID | Yes | string | Unique ID of the rule to be modified. | Path |
Request Example
/v1/projects/185d9a72-a629-4b94-b421-a2f0301bb072/stream-rules/79ded171-8926-4dff-bf73-fc2d3070a100With this request, you delete the rule with ID "79ded171..." that is contained in rule project "185d9a72...".
Response
Response Status and Error Codes
| Code | Description |
|---|---|
| 204 | Rule deleted successfully. |
| 401 | Unauthorized. Rule couldn't be deleted due to insufficient access rights. |
| 403 | Forbidden. |
| 404 | Not found. For example, an invalid rule ID or project ID has been provided. |