Removes a reservation on a unlocked lead for the given customerId
DELETE/customers/ {customerId}/ unlocked-leads/ {leadId}/ reservation/
v2
DELETE
leadfyndr-remove-unlocked-lead-reservation
Request
Responses
Usage examples
- cURL
- JavaScript SDK
- PHP SDK
$ curl \
--fail \
--location \
-X DELETE \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/customers/string/unlocked-leads/string/reservation
import { MittwaldAPIV2Client } from "@mittwald/api-client";
import { assertStatus } from "@mittwald/api-client-commons";
const client = MittwaldAPIClient.newWithToken(process.env.MITTWALD_API_TOKEN);
const response = await client.leadFyndr.removeUnlockedLeadReservation({
"leadId": "string",
"customerId": "string"
});
assertStatus(response, 200);
use \Mittwald\ApiClient\Generated\V2\Clients\LeadFyndr\RemoveUnlockedLeadReservation\RemoveUnlockedLeadReservationRequest;
$client = MittwaldAPIClient::newWithToken(getenv('MITTWALD_API_TOKEN'));
$request = (new RemoveUnlockedLeadReservationRequest(
leadId: "string",
customerId: "string"
));
$response = $client->leadFyndr()->removeUnlockedLeadReservation($request);
var_dump($response->getBody();