cURL
curl --request DELETE \ --url https://api.pocketflows.com/segments/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "id": "<string>", "name": "<string>", "filter": "<string>", "static_customers": [ "<string>" ] }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the segment
The deleted Segment object
Segment
The response is of type object.
object