Delete Policy By Id
DELETE/v1/product/:product_id/policy/:policy_id
deprecated
Delete a policy by ID, requires policies:config:edit permission
Request
Path Parameters
policy_id uuidrequired
Policy ID
product_id uuidrequired
Product ID
Responses
- 200
- 400
- 404
- 422
Successful Response
- application/json
- Schema
Schema
any
Bad Request
Not Found
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...