v1
latestOpenAPI 3.1.02026-07-26497885.9 KBDelete segment
Delete segments from OneSignal. Does not delete users or subscriptions.
delete/apps/{app_id}/segments/{segment_id}
Path parameters
app_idstring required
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
segment_idstring required
The segment_id can be found in the URL of the segment when viewing it in the dashboard.
Headers
Authorizationstring required
Your App API key with prefix Key . See Keys & IDs.
Response
200
Example response
{
"success": true
}