Delete policy
Prisma Cloud Code Security supports policy-as-code capabilities using YAML-based policy definition files to enable attribute and connection checks (composite checks).
To use the API request, add your token to the header. API supports both YAML and JSON configuration of Prisma Cloud Code Security custom policy schema)
This API deletes an existing Prisma Cloud Code Security custom policy. The output will be the id of deleted policy.
Path Parameters
- policyId string required
- the policy Id to delete
Responses
- 200
- 404
- 422
- 500
Remove a policy data by policy id
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- anyOf
- ErrorMessage
- PolicyRes
message string requiredpolicy string required
{
"message": "string"
}
{
"policy": "policy1"
}
Policy id is not exist
Request arguments validation error
Could not remove policy
Loading...