Add access policies to a role
POST/api/v1/RolesRole/:roleId/AccessPolicy
Adds access policies to the scope of a role. Role members can then change those policies as far as the permissions of the role allow. Policies already in the scope are skipped.
Permission required: Administrator role.
Request
Responses
- 200
- 400
- 403
- 404
Returns the number of access policies added.
The access policies could not be added.
The signed-in user does not have the required role, or the account has read-only administrator access.
The role does not exist.