Delete a cancellation

Deletes an order cancellation with a specified ID.

Important: Only cancellation orders with a status of draft can be deleted.

SecuritySecretApiKey or JWT
Request
path Parameters
id
required
string <= 50 characters ^[@~\-\.\w]+$

ID of the resource.

Responses
204

Cancellation deleted.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

404

Resource not found.

409

Conflict.

delete/subscription-cancellations/{id}
Request samples
$service = new Rebilly\Sdk\CoreService($client);
$service->subscriptionCancellations()->delete('cancellationId');
Response samples
application/json
{
  • "status": 401,
  • "title": "string",
  • "detail": "string",
  • "instance": "string"
}