Segments

Update a segment

Changes a segment's name, description or filter. A new filter replaces the old one completely.

patch/v1/segments/{id}

Request

  • Base URL: https://api.rumoro.dev
  • URL: https://api.rumoro.dev/v1/segments/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The segment's id (seg_...).

Example:seg_abc123

Request body

namestring
descriptionstring

Response

The segment after the change

idstring required

The segment's id (seg_...).

namestring required
descriptionstring required
countinteger required

How many people are in the segment now. It is counted again on each read.

createdAtstring required

UTC time in ISO 8601.

updatedAtstring required

UTC time in ISO 8601.

Changes

No recorded changes to this operation across all 1 revision of this API.