delete()

Description

DELETE data from an integration endpoint.

By default the Content-Type is set to application/json, but you can override this value by passing your own headers in the integration() method.

Request

Parameters

FieldRequiredData TypeDescription

path

string

Examples

DELETE without custom headers

const results = await client.integration("stripe").delete("/customers");

DELETE with custom headers

const results = await client.integration("stripe", { "Content-Type": "application/x-www-form-urlencoded" }).delete("/customers");

Last updated

Copyright © 2023 Deskree Technologies Inc.