code: @POST
      @Path("{group}/{id}")
      @Consumes("application/x.json-create-role")
      public Response createRoleFromUpdateRequest(@PathParam("group") String group, @PathParam("id") String id,
                                                  CreateEmoRoleRequest request,
                                                  @Authenticated Subject subject) {
          _uac.createRole(subject, request.setRoleKey(new EmoRoleKey(group, id)));
          return Response.created(URI.create(""))
                  .entity(SuccessResponse.instance())
                  .build();
      }
docs: Alternate endpoint for creating a role.  Although slightly less REST compliant it provides a more flexible
  interface for specifying role attributes.