Delete rule
DELETE/api/management/policy/rule/:id
Delete rule template
Request
Path Parameters
id numberrequired
Responses
- 200
- 403
- 404
Forbidden
- application/json
- Schema
- Example (auto)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}
Resource not found
- application/json
- Schema
- Example (auto)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}
Authorization: oauth2
name: oauth2type: oauth2scopes:controlplane_admin
flows: { "password": { "scopes": { "controlplane_admin": "controlplane_admin", "controlplane_dataplane": "controlplane_dataplane" } } }
- curl
- http
- CURL
curl -L -X DELETE 'https://tsg.dataspac.es/api/management/policy/rule/:id' \
-H 'Authorization: Bearer <token>'