Skip to main content
Version: Latest (4.1.0)

Create or replace DCR policy

PUT 

/apps-srv/app-management-policies

Creates or replaces the DCR app-management policy (policyType=dcr).

DCR upserts: if no policy exists for name=default + policyType=dcr, the server creates it (201). If it exists, the server replaces it (200). Prefer listing with type=dcr first so the seeded default exists when the feature is on.

DCR disabled returns 404 APP10161. Name other than default returns 400 APP10163. Other validation failures return 400 APP10164.

Requires scope cidaas:apps_write and role ADMIN or SECONDARY_ADMIN.

Request​

Responses​

Policy replaced. createdTime is preserved; updatedTime changes.