ReferenceAdmin
Change the default publishing policy (platform admins)
PUT
/v1/admin/settings/publishingHeader Parameters
If-Match*string
The resource's revision, as returned in ETag (for example "3"). Missing returns 428; stale returns 412.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/admin/settings/publishing" \ -H "If-Match: string" \ -H "Content-Type: application/json" \ -d '{ "defaultPolicy": "approval_required" }'{ "data": { "defaultPolicy": "approval_required", "revision": 0, "updatedAt": "2019-08-24T14:15:22Z" }}