Update permission details

PUT {{baseUrl}}/permissions/:id?default_locale=en

Update permission details

Request Params

KeyDatatypeRequiredDescription
default_localestringSet default locale when named property is true

Request Body

{"name"=>"CMS Sample Permission Update 1", "display_name"=>"Updated CMS Permission", "description"=>"Updated Sample ACL", "owner"=>{"id"=>"3fa85f64-5717-4562-b3fc-2c963f66afa6"}, "named"=>false, "permits"=>[{"identity"=>"kate@innovate.com", "identity_type"=>"user", "permissions"=>["browse", "read_content", "relate", "lock", "write", "write_content", "delete", "change_permission", "change_owner", "change_location", "change_folder_links", "create_link", "delete_link", "add_member", "delete_member", "show_members", "apply_policy", "remove_policy", "apply_hold", "remove_hold", "version"]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"name":"enim qui","permits":[{"identity":"qui","identity_type":"tenant_group","permissions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"identity":"dolore commodo","identity_type":"tenant_group","permissions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"id":"7883ae6e-3569-5e65-20fb-44e9318e9455","display_name":"sit proident commodo dolore","description":"pariatur consequat eu irure","internal":false,"owner":{"id":"65833def-9e69-e1c4-1dd6-ac38c38da1ad","identity_type":"quis offi","user_profile":{"first_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"last_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"named":false,"etag":-90104749,"_links":{"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"edit":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"urn:eim:linkrel:delete":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"urn:eim:linkrel:localizations":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}