Permissions

Set a permission to multiple roles

This route associates a permission to multiple roles. Add the permission ID as a path parameter to the route url and include the role IDs in the request body as an array of strings. Any pre-existing roles associated with the permission will stay associated. Use the Get roles API to get the role IDs.

put/resources/permissions/v1/{permissionId}/roles

Request

Path parameters

permissionIdstring required

Request body

roleIdsstring[] required

The permission will be assigned to the specified roles

Response

idstring required
keystring required
namestring required
descriptionstring required
createdAtstring date-time required
updatedAtstring date-time required
roleIdsstring[] required
categoryIdstring required
fePermissionboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.