Users
Orgs
Lists organizations a user is a member of.
get/v1/users/{userId}/orgs
Path parameters
userIdstring uuid required
Query parameters
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
Changed in 2 of the 26 revisions of this API.2
- ○
added the new optional
queryrequest parametercliSelectablenew-optional-request-parameter
- ○
- ○
added the required property
data/items/attributes/slugto the response with the200statusresponse-required-property-added
- ○