Delete

This API Connector function card performs a Delete request, returning the result of this request and the response headers. On input, the Delete card takes a required URL input and optional header, body, and query inputs.

Input

  • URL(text): required URL for Delete request

  • headers (Section): If required for the Delete request to the specified URL, create headers by specifying an input name equal to the key (e.g. "Content-Type") and then specifying a value for the input (e.g. "application/json"). Information on headers required for your Delete request should be specified by the provider of the URL.

  • query (Section): If necessary for the Delete request to the specified URL, create query string parameters by specifying an input name equal to the key (e.g. "page") and then specifying a value for the input (e.g. "1"). Information on the query string parameters available for your Delete request should be specified by the provider of the URL.

  • body (Section): If required for the Delete request to the specified URL, create a request body by specifying an input name equal to the key (e.g. "id") and then specifying a value for the input (e.g. "123"). Information on the request body required for your Delete request should be specified by the provider of the URL.

There is a known issue when attempting to pass a request body in a Delete request. Use the body input field of an HTTP Raw Request

Output

  • statusCode (Number): the status (200, 404, etc) associated with the DELETE request

  • body(Section): using syntax similar to the outputs for Get Multiple, specify optional paths that allow retrieving values from the response body

  • headers(Section): specify optional keys that allow retrieving values from the response headers

Related topics

Functions

Workflow elements