Delete DCR policy (not allowed)
DELETE/apps-srv/app-management-policies/:id
The DCR policy cannot be deleted. When DCR is enabled and the id
refers to a DCR policy, the server always returns 400 APP10162.
When DCR is disabled, the same call returns 404 APP10161 for a
DCR policy id. Unknown id returns 404 APP10125.
To stop DCR, disable the feature for the tenant or tighten policy settings (for example disable open registration and empty allow-lists).
Requires scope cidaas:apps_write and role ADMIN or SECONDARY_ADMIN.
Request
Responses
- 400
- 401
- 403
- 404
| Code | Typical cause |
|---|---|
APP10124 | Missing id |
APP10162 | DCR policy cannot be deleted |
Unauthorized
Forbidden — caller lacks a required admin role (APP10023).
| Code | Typical cause |
|---|---|
APP10125 | Policy id not found |
APP10161 | DCR is not enabled for the tenant |