Set role permissions
POSThttp://localhost:4000/api/permissionsRoles/setRolePermissions
Replaces the permissions of a role. Get Role allowed permissions shows what you can choose from.
Body Params
idintegerrequired
ID of the role.
permissionsobjectrequired
What the role is allowed to do.
Responses
200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.