@Override
    public void retire(String organizationId, String apiId, String version, @Suspended AsyncResponse response)
            throws RegistrationException, NotAuthorizedException {
        Api api = new Api();
        api.setOrganizationId(organizationId);
        api.setApiId(apiId);
        api.setVersion(version);
        getEngine().getRegistry().retireApi(api, handlerWithEmptyResult(response));
    }
@see IApiResource#getApiEndpoint(java.lang.String, java.lang.String, java.lang.String)
gateway/api/rest-impl/src/main/java/io/apiman/gateway/api/rest/impl/ApiResourceImpl.java