SP.RoleDefinitionBindingCollection.remove Method (sp.js)
Removes the specified role definition from the binding collection.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.RoleDefinitionBindingCollection.remove()
Parameters
roleDefinition
Type: SP.RoleDefinitionSpecifies the role definition to be removed.
Return value
Undefined
Remarks
It must not be null.
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/RoleAssignments(principalid)/RoleDefinitionBindings/remove(roleDefinition)
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/RoleAssignments(principalid)/RoleDefinitionBindings/remove(roleDefinition)
Resource parameters
- roleDefinition