Docs
Live demo
GET/api/v2/targets/{id}/memberships
members:readAPI token

Retrieve a paginated wrapper of target memberships. Supports cursor-based pagination and a limit parameter (1-100).

Parameters

Path and query1 required of 3
idstringpathrequired

Target ID (UUID)

cursorstringquery

Opaque cursor from next_cursor of the previous page. Send it with the same filters.

limitinteger · int32query

Page size (1-100) for paginated results

min 1 · max 100

Responses

200

OK

TargetMembershipsResponse · 4 fields
has_morebooleanrequired

True when another page follows. The list ends when it is false.

itemsarray of TargetMembershipResponserequired
6 fields
created_atstring
identity_idstring
instance_idstring

Instance membership returns instance_id per OpenAPI spec

rolesarray of string
scopesarray of string
updated_atstring
next_cursorstring

Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.

totalinteger

Full number of items that match the request, present only when the list counts them. It is never the size of the page.

Common errors: 400 401 403 404 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close