Update Granular Roles

PUT {{protocol}}://{{accounts_api_url}}/{{accounts_api_version}}/roles/{{role_zuid}}/granulars

Updates the granular roles for the give role ZUID. The resource ZUID for each granular permission must be included in the body of each update.

You can pass content models (schemas), instances, and item ZUID as the resource ZUID.

Request Body

{"0"=>{"resourceZUID"=>"{{item_zuid}}", "name"=>"", "create"=>true, "read"=>true, "update"=>true, "delete"=>false}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring