Delete export
const url = 'https://api.hookbridge.io/v1/exports/01935abc-def0-7123-4567-890abcdef012';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.hookbridge.io/v1/exports/01935abc-def0-7123-4567-890abcdef012 \ --header 'Authorization: Bearer <token>'Delete an export and its associated S3 file. Exports that are pending or currently processing cannot be deleted. If the export transitions between states during the request, the server may return a transient 409 — retry the request in that case.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Export job identifier (UUIDv7)
Example
01935abc-def0-7123-4567-890abcdef012Responses
Section titled “Responses”Export deleted successfully
Unauthorized - Invalid or missing API key
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or missing API key" }, "meta": { "request_id": "req_xyz123" }}Resource not found
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "NOT_FOUND", "message": "Message not found" }, "meta": { "request_id": "req_xyz123" }}Export is pending or in progress
object
object
Machine-readable error code
Human-readable error message
object
Unique identifier for this request (useful for support)
Example
{ "error": { "code": "EXPORT_ACTIVE", "message": "Cannot delete an export that is pending or in progress. Please try again in a moment." }, "meta": { "request_id": "req_xyz123" }}Enter your credentials to populate code examples throughout the docs.