Events
Delete an event
Deletes a usage event by creating a new deletion event that links back to the original event. Requires valid authentication. Reach out to your account manager if you would like to participate in the Beta for the new Usage API.
delete/v1/events/{idempotencyKey}
Request
- Base URLhttps://integrators.prod.api.tabsplatform.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idempotencyKeystring uuid required
Event key of the event that should be deleted
Response
Event deleted successfully
Example response
{
"success": true,
"message": "Event deleted successfully",
"data": {
"events": {
"customerId": "550e8400-e29b-41d4-a716-446655440000",
"eventTypeId": "550e8400-e29b-41d4-a716-446655440000",
"datetime": "2024-01-15T10:30:00Z",
"idempotencyKey": "550e8400-e29b-41d4-a716-446655440000",
"value": 1.5,
"differentiator": "mobile",
"invoiceSplitKey": "invoice-123",
"parentEventId": "018c1234-5678-7abc-def0-123456789000",
"metadata": {
"key": "value"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.