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.

Your API key needs the permissionsRoles.MANAGE_ORG_ROLES permission.

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.