コード例 #1
0
 /**
  * Unregister a webhook from specific client.
  *
  * @param orcid the ORCID that corresponds to the user's record
  * @param webhook_uri the webhook that will be deleted from the user
  * @return
  */
 @DELETE
 @Produces(value = {VND_ORCID_JSON, ORCID_JSON, MediaType.APPLICATION_JSON})
 @Consumes(value = {VND_ORCID_JSON, ORCID_JSON, MediaType.APPLICATION_JSON})
 @Path(WEBHOOKS_PATH)
 public Response unregisterWebhookJson(
     @PathParam("orcid") String orcid, @PathParam("webhook_uri") String webhookUri) {
   return serviceDelegator.unregisterWebhook(uriInfo, orcid, webhookUri);
 }