Performs a DELETE request to the specified endpoint URL.
Octave.Http.delete(url, headers)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | String | Yes | URL to DELETE |
| headers | String | No | A mapping of header names and values. |
Returns
Returns a response object with the following keys:
| Field | Type | Description |
|---|---|---|
| headers | String | Map of header keys and values. |
| status | Integer | HTTP status code. |
| message | String | HTTP status message. |
| contentType | String | Value of HTTP Content-Type header. |
| content | String | Response Body. |
