Segment DELETE
DELETE/v1/segments/:id
Permanently delete a segment by its ID.
Request
Path Parameters
id int32required
The segment's numeric ID
Responses
- 200
- 404
- 422
Ok
- application/json
- Schema
- Example (from schema)
Schema
errors undefined[]required
ok booleanrequired
{
"errors": [
null
],
"ok": true
}
Segment not found
- application/json
- Schema
- Example (from schema)
Schema
ok booleanrequired
Possible values: [false]
errors string[]required
{
"ok": false,
"errors": [
"string"
]
}
Validation failed
- application/json
- Schema
- Example (from schema)
Schema
ok booleanrequired
Possible values: [false]
errors string[]required
{
"ok": false,
"errors": [
"string"
]
}
Loading...