code: @POST
      @Consumes("application/x.json-create-api-key")
      public Response createApiKey(CreateEmoApiKeyRequest request, @QueryParam("key") String key,
                                   @Authenticated Subject subject) {
          if (key != null) {
              request.setCustomRequestParameter("key", key);
          }
          CreateEmoApiKeyResponse response = _uac.createApiKey(subject, request);
  
          return Response.created(URI.create(response.getId()))
                  .entity(response)
                  .build();
      }
docs: Creates an API Key.