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
- Base URLhttp://localhost:8181
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
permissionIdstring required
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.