Users
Orgs

Lists organizations a user is a member of.

get/v1/users/{userId}/orgs

Path parameters

userIdstring uuid required

Query parameters

OR
'name'
OR
'-name'
page[size]number
page[after]string
page[before]string
cliSelectableboolean

Return only organizations the user can sign a CLI into: those with an active WorkOS membership. Our database and WorkOS can disagree — a row here with no membership there is offered to the user, chosen, and then refused by WorkOS when the CLI completes the organization-selection grant.

Headers

Authorizationstring

Response

Default Response

Changes