Segments
Update Segment
Updates a saved segment. Editors, admins and owners can edit any segment; members can edit segments they created. Only the fields you send change.
put/api/sites/{site}/segments/{segmentId}
Request
- Base URL: https://app.rybbit.io
- URL: https://app.rybbit.io/api/sites/{site}/segments/{segmentId}
- Auth: one of:
- HTTP bearer
- API key in query parameter api_key
- API key in cookie better-auth.session_token
Path parameters
Numeric Rybbit Site ID or string identifier.
segmentIdstring required
segmentId identifier.
Request body
object required
Response
Successful response. Refer to the linked endpoint documentation for the response fields.
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.