delete https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/segments/$(segmentid)
This API is used to delete a segment.
Note
If the segment is without criteria and there are existing users in that segment, then the segment cannot be deleted.
Request
The Delete Segment request is specified as follows:
Request Headers
Request Header | Description |
---|---|
secretKey | Secret key generated in backend application. |
content-type | application/json |
Response Example
{
"trans_id": "b6771733-bd4e-43fe-b253-130fd5519459",
"description": "success",
"code": 0
}