Restore archived segment
Restores an archived Segment. If another active Segment already has the same name, returns 409 `segment_name_taken`.
Restores an archived Segment. If another active Segment already has the same name, returns 409 segment_name_taken.
bearerAuthAuthorizationBearer <API key>Project API key (cr_sk_...)
id*stringuuidRestored
application/json- response
segment_id*stringuuidstatus*string"active""archived"updated_at*stringdate-timecurl -X POST 'https://api.comraid.io/segments/497f6eca-6276-4993-bfeb-53cbbbba6f08/restore'{ "segment_id": "0dbbf761-5b2d-4647-8bfa-2b714456749c", "status": "active", "updated_at": "2019-08-24T14:15:22Z"}Update segment PUT
Partial update: omitted fields keep their current values. Empty `name` is 400. Saving rules with zero conditions is 400 (use Everyone). At most 50 conditions and 1,000 values per `in` list. Renaming onto an active Segment name returns 409 `segment_name_taken`.
Mark delivery delivered (device acknowledgement) POST
Records that the device acknowledged receipt. Provider acceptance alone is status `sent`; this route advances the Delivery to `delivered`. Acks are accepted for 30 days after `sent_at` (or Delivery creation when unsent). Repeat acks return 200 with the stored status. SDKs drop 4xx responses from the ack queue.