Segments

Delete Segment

Deletes a saved segment. Admins and owners can delete any segment; members can delete segments they created. Links that already expanded the segment's filters keep working.

delete/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

integer required
OR
string required

Numeric Rybbit Site ID or string identifier.

segmentIdstring required

segmentId identifier.

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.