Delete segment
If you have questions regarding this API, please visit our API FAQ page.
Deleting a segment
Make a DELETE request to
https://webapi.inboxroad.com/api/v2/segments/{segment_id}/ with a valid
X-API-Key.
curl -X DELETE 'https://webapi.inboxroad.com/api/v2/segments/{segment_id}/' \ -H 'X-API-Key: <your_token>'Path parameters
| Param name | Description |
|---|---|
| segment_id | Unique identifier of the segment (UUID). |
Response
On success the API returns 204 No Content with an empty body.
Possible response codes
| Status code | Description |
|---|---|
| 204 | Segment deleted successfully (empty body). |
| 401 | Unauthorized. |
| 404 | Segment not found. |