Sign in

Delete segment

documented

Delete a segment.

DELETE /apps/{app_id}/segments/{segment_id}Segmentsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.onesignal.com/apps/{{$app_id}}/segments/{{$segment_id}}" \
  -X DELETE \
  -H "Authorization: Key {{ONESIGNAL_API_KEY}}" \
  -H "Accept: application/json"