post https://accounts.api.zesty.io/v1/roles//granulars
Adds a granular role to the role with the given role ZUID. In the body content, you can pass content models (schemas), instances, and item ZUID as the resource ZUID.
Responses
Adds a granular role to the role with the given role ZUID. In the body content, you can pass content models (schemas), instances, and item ZUID as the resource ZUID.
xxxxxxxxxx
14curl --request POST \
--url https://accounts.api.zesty.io/v1/roles/role_zuid/granulars \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"create": true,
"delete": true,
"grant": true,
"publish": true,
"read": true,
"update": true
}
'