Update an Assigned Access permission for the specified user/group

PUT {{baseUrl}}/v2/nodes/:id/permissions/custom?suppress_response_codes=irure labore Duis dolor ea

Update an Assigned Access permission for the specified user/group.

NOTE: This can only be done using the 'body' parameter (see the [IMPLEMENTATION NOTES]).

Examples:

Update permissions for the user/group to 'see' and 'see contents' permissions:
body = {permissions:[see,see_contents]}

Update permissions for the user/group to no permissions (NOTE: this is not the same as deleting the user/group's permissions from the Assigned Access):
body = {permissions:[]}

Update the user/group's permissions on a Folder to 'see' and 'see contents' and apply to 'This Item':
body = {permissions:[see,see_contents],apply_to:0}

Update the user/group's permissions on a Folder to 'see' and 'see contents' and apply to 'This Item and Sub-Items' where the Sub-Items are Task List and Channel:
body = {permissions:[see,see_contents],apply_to:2,include_sub_types:[204,207]}

Request Params

KeyDatatypeRequiredDescription
suppress_response_codesstringForces the server to always return a HTTP Response of '200 OK'. The data returned from the call will have an additional integer feature named 'statusCode', which will contain the actual status code (the 'statusCode' feature will be added regardless of whether the REST API call was successful or not).<br><br>NOTE: This parameter does not require a value, so it should be specified as <ul><li><b>[Query String]:</b><code>?suppress_response_codes</code></li><li><b>[Form Body (where the value is an empty string)]</b>: <code>suppress_response_codes = </code></li></ul>

Request Body

[{"name"=>"permissions", "value"=>"see_contents", "datatype"=>"string"}, {"name"=>"permissions", "value"=>"modify", "datatype"=>"string"}, {"name"=>"apply_to", "value"=>"0", "datatype"=>"number"}, {"name"=>"include_sub_types", "value"=>"pariatur fugiat dolor Duis", "datatype"=>"string"}, {"name"=>"include_sub_types", "value"=>"do dolor", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;links&quot;:[{&quot;data&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},{&quot;data&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}]}