Roles
Update role
This route updates an existing role. Add the role ID as a path parameter to the route url to specify which role you are updating. Send the updated information about the role in the PATCH body. Note that you do not update permissions for the role here. Use the attach permissions to role route to do that. Use the Get roles API to get the role ID.
patch/resources/roles/v1/{roleId}
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.