put https://api.frontegg.com/identity/resources/permissions/v1//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.