Delete the document from the slot

REST: DELETE /sms/{serviceName}/receivers/{slotId}
@param serviceName [required] The internal name of your SMS offer
@param slotId [required] Slot number id
773534
public void serviceName_receivers_slotId_DELETE(String serviceName, Long slotId) throws IOException {
		String qPath = "/sms/{serviceName}/receivers/{slotId}";
		StringBuilder sb = path(qPath, serviceName, slotId);
		exec(qPath, "DELETE", sb.toString(), null);
	}
685624
def delete(ctx, short_name):
    """"""
    wva = get_wva(ctx)
    subscription = wva.get_subscription(short_name)
    subscription.delete()
1245376
@Override
    public void deleteDocumentTranslationRequest(String trId)
            throws ServiceException {
        ServiceResponse resp = invokeApiJson(
                "DELETE",
                escapePathSegment(account.getInstanceId()) + "/v2/doc-trs/"
                    + trId,
                null,
                ServiceResponse.class);

        if (resp.getStatus() == Status.ERROR) {
            throw new ServiceException(resp.getMessage());
        }
        
    }
1354650
@DELETE
    @Produces({MediaType.TEXT_HTML, MediaType.APPLICATION_JSON})
    @Path("/{name}")
    public Response delete(@Auth final DbCredential credential, @PathParam("name") final String name){
        if(!credential.getRoles().contains(AvailableRoles.DATA_DELETER)){
            throw new WebApplicationException(Response.status(Response.Status.UNAUTHORIZED).build());
        }

        LOG.info("Got a delete license request.");
        getLicenseHandler().deleteLicense(name);
        cacheUtils.clear(CacheName.PROMOTION_REPORTS);
        return Response.ok("done").build();
    }
138237
public void removeService(ServiceReference reference, Object service) {
        if (serviceRegistration != null) {
            serviceRegistration.unregister();
            serviceRegistration = null;
        }

        String alias = this.getAlias();
        ((HttpService) service).unregister(alias);
        if (servlet instanceof WebappServlet)
            ((WebappServlet)servlet).free();
        servlet = null;
    }
858282
public void serviceName_phonebooks_bookKey_DELETE(String serviceName, String bookKey) throws IOException {
		String qPath = "/sms/{serviceName}/phonebooks/{bookKey}";
		StringBuilder sb = path(qPath, serviceName, bookKey);
		exec(qPath, "DELETE", sb.toString(), null);
	}
345480
public void deleteVoiceMessage(final String id) throws UnauthorizedException, GeneralException, NotFoundException {
        if (id == null) {
            throw new IllegalArgumentException("Message ID must be specified.");
        }
        messageBirdService.deleteByID(VOICEMESSAGESPATH, id);
    }
90587
def delete_service(self, name):
    
    return services.delete_service(self._get_resource_root(), name, self.name)
566596
public void serviceName_users_userId_DELETE(String serviceName, String userId) throws IOException {
		String qPath = "/caas/registry/{serviceName}/users/{userId}";
		StringBuilder sb = path(qPath, serviceName, userId);
		exec(qPath, "DELETE", sb.toString(), null);
	}
852995
public void deleteSubscription(
    String subId,
    boolean force) 
    
    throws SINotAuthorizedException, 
           SIDurableSubscriptionNotFoundException, 
           SIDestinationLockedException, 
           SIResourceException, 
           SIIncorrectCallException,
           SINotPossibleInCurrentConfigurationException
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(
        tc,
        "deleteSubscription",
        new Object[] { subId, new Boolean(force) });

    checkStarted();
    
    if (subId == null)
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "deleteSubscription", "SubId is null");
      throw new SIDurableSubscriptionNotFoundException(
        nls.getFormattedMessage(
          "SUBSCRIPTION_DOESNT_EXIST_ERROR_CWSIP0072",
          new Object[] {null,
                        messageProcessor.getMessagingEngineName()},
          null));
    }

    HashMap durableSubs = destinationManager.getDurableSubscriptionsTable();    

    synchronized (durableSubs)
    {
      // Look up the consumer dispatcher for this subId in the system durable subs list
      ConsumerDispatcher cd = (ConsumerDispatcher) durableSubs.get(subId);
      
      // Does the subscription exist, if it doesn't, throw a 
      // SIDestinationNotFoundException
      if (cd == null)
      {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
          SibTr.exit(tc, "deleteSubscription", "SIDurableSubscriptionNotFoundException");
          
        throw new SIDurableSubscriptionNotFoundException(          
          nls.getFormattedMessage(
            "SUBSCRIPTION_DOESNT_EXIST_ERROR_CWSIP0146",
            new Object[] { subId,
                           messageProcessor.getMessagingEngineName() },
          null));
      }        

      // Obtain the destination from the queueing points
      DestinationHandler destination = cd.getDestination();

      // Call the deleteDurableSubscription method on the destination
      // NOTE: this assumes the durable subscription is always local
      destination.deleteDurableSubscription(subId, messageProcessor.getMessagingEngineName());
    }
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "deleteSubscription");
  }
29254
public void serviceName_option_option_DELETE(String serviceName, net.minidev.ovh.api.dedicated.server.OvhOptionEnum option) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/option/{option}";
		StringBuilder sb = path(qPath, serviceName, option);
		exec(qPath, "DELETE", sb.toString(), null);
	}
532016
public static sms_server delete(nitro_service client, sms_server resource) throws Exception
	{
		resource.validate("delete");
		return ((sms_server[]) resource.delete_resource(client))[0];
	}
1068619
public function delete_service($serviceid) {
        global $DB;
        $DB->delete_records('external_services_users', array('externalserviceid' => $serviceid));
        $DB->delete_records('external_services_functions', array('externalserviceid' => $serviceid));
        $DB->delete_records('external_tokens', array('externalserviceid' => $serviceid));
        $DB->delete_records('external_services', array('id' => $serviceid));
    }
488769
public void deleteDocument(String indexName, String mappingName, String id) {
        client.prepareDelete(indexName, mappingName, id).get();
    }
72380
public void project_serviceName_sshkey_keyId_DELETE(String serviceName, String keyId) throws IOException {
		String qPath = "/cloud/project/{serviceName}/sshkey/{keyId}";
		StringBuilder sb = path(qPath, serviceName, keyId);
		exec(qPath, "DELETE", sb.toString(), null);
	}
1034195
public DeploymentService delete(long applicationId, long deploymentId)
    {
        HTTP.DELETE(String.format("/v2/applications/%d/deployments/%d.json", applicationId, deploymentId));       
        return this;
    }
1238613
public void serviceName_udp_farm_farmId_DELETE(String serviceName, Long farmId) throws IOException {
		String qPath = "/ipLoadbalancing/{serviceName}/udp/farm/{farmId}";
		StringBuilder sb = path(qPath, serviceName, farmId);
		exec(qPath, "DELETE", sb.toString(), null);
	}