GET/v1/customers/{external_id}/segments
List a customer's segments
Judges each segment of the customer's served catalogue and answers whether the customer is in it, and otherwise the first test they failed. Needs customers:read.
curl 'https://api.entitler.co/v1/customers/ada/segments' \
-H "Authorization: Bearer $ENTITLER_KEY"Credentials
Send any one of these:
- Bearer token
Path parameters
| Name | Type | Description |
|---|---|---|
external_idrequired | string |
Query parameters
| Name | Type | Description |
|---|---|---|
target.team_id | string | |
target.project_id | string | |
target.environment_id | string |
Responses
200The ListCustomerSegmentsResponse message.
ListCustomerSegmentsResponse
segmentsarray of CustomerSegmentrequiredattributeKeystringinSegmentbooleanrequiredkeystringrequiredsegmentKeystring
ErrorA refusal, with the HTTP status of its gRPC code.
Error
errorobjectrequiredcodestringrequiredparametersobjectrequiredEach value: string
reasonstringor nullrequired