Skip to content

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.

Terminal window
curl -X DELETE 'https://webapi.inboxroad.com/api/v2/segments/{segment_id}/' \
-H 'X-API-Key: <your_token>'

Path parameters

Param nameDescription
segment_idUnique identifier of the segment (UUID).

Response

On success the API returns 204 No Content with an empty body.

Possible response codes

Status codeDescription
204Segment deleted successfully (empty body).
401Unauthorized.
404Segment not found.