Replace CIMD policy
PUT/apps-srv/app-management-policies
Replaces the CIMD app-management policy (policyType=cimd).
CIMD is replace-only: the default policy must already exist (created
by list/GET when needed). A missing policy returns 404 APP10125.
CIMD disabled returns 404 APP10153.
Validation failures return 400 with CIMD-specific codes
(APP10154–APP10160, APP10165).
Requires scope cidaas:apps_write and role ADMIN or SECONDARY_ADMIN.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Policy replaced. createdTime is preserved; updatedTime changes.
Validation or parse error.
| Code | Typical cause |
|---|---|
APP10001 | Invalid JSON body |
APP10126 | Invalid policyType |
APP10127 | Name longer than 128 characters |
APP10154 | Name is not default |
APP10155 | Top-level groupIDs / allowedScopes present |
APP10156 | Missing cimd sub-document |
APP10157 | More than 100 hostRules |
APP10158 | Invalid host rule |
APP10159 | Invalid ceilings |
APP10160 | Invalid defaults (for example above ceilings) |
APP10165 | Foreign sub-document (for example dcr) on CIMD |
Unauthorized
Forbidden — caller lacks a required admin role (APP10023).
| Code | Typical cause |
|---|---|
APP10125 | CIMD policy does not exist yet — call GET with type=cimd first |
APP10153 | CIMD is not enabled for the tenant |