Create a new permission
POST {{baseUrl}}/permissions
Create a new permission
Request Body
{"name"=>"CMS Sample Permission 1", "display_name"=>"CMS Permission", "description"=>"Sample ACL of CMS", "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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"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"}}}}