Skip to main content
DELETE
/
api
/
v1
/
segments
/
{segmentId}
Delete a segment
curl --request DELETE \
  --url https://api.railmail.app/api/v1/segments/{segmentId} \
  --header 'X-API-Key: <api-key>'
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "errors": {}
}

Authorizations

X-API-Key
string
header
required

Project-scoped API key, format rm_(live|test)_... . May also be sent as Authorization: Bearer rm_....

Path Parameters

segmentId
string<uuid>
required

Segment id (UUID).

Response

Deleted