1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/website/docs/api/admin/segments.mdx

21 lines
496 B
Plaintext
Raw Normal View History

2022-03-30 16:01:07 +02:00
---
title: /api/admin/segments
---
export const basePath = "/api/admin/segments"
### Get all segments: `GET /{{{basePath}}}`
### Create segment: `POST /`
### Get segment by id: `GET /:id`
### Update segment by id: `PUT /:id`
### Delete segment by id: `DELETE /:id`
### List strategies that use a specific segment: `GET /:id/strategies`
### List segments applied to a specific strategy: `GET /strategies/:strategyId`
### Replace activation strategy segments `POST /strategies/:strategyId`