Roles
Assign permissions to a role
This route assigns permissions to a role. Add the role ID as a path parameter to the route url and include the permission IDs in the request body as an array of strings. Any pre-existing permissions will be overridden by the new permissions. Use the get roles API to get the role IDs. Use the Get permissions API to get the permissions IDs.
put/resources/roles/v1/{roleId}/permissions
Request
- Base URLhttp://localhost:8181
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
roleIdstring required
Headers
frontegg-tenant-idstring
For relating a role to a specific tenant, use get tenants API to find the tenant ids
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.