Patch DCR policy
PATCH/apps-srv/app-management-policies/:id
Partially updates an existing DCR policy by id. The body is merged onto
the stored document. name and policyType cannot be changed.
DCR disabled returns 404 APP10161. Unknown id returns 404
APP10125. Validation failures return 400 APP10163 / APP10164.
Requires scope cidaas:apps_write and role ADMIN or SECONDARY_ADMIN.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Policy updated.
| Code | Typical cause |
|---|---|
APP10001 | Invalid JSON body |
APP10124 | Missing id |
APP10163 | Name would not be default (should not occur when name is stripped) |
APP10164 | Invalid merged DCR payload |
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 |