List My Organizations
GET /auth/me/organizationsThe organizations this person holds a principal in — theirs, not the catalogue.
GET /organizations answers “what tenants exist”, floors at operator and reaches
them through the audited hatch. It is therefore not an answer an ordinary member can
get, and until this route there was none: a person with a seat in two organizations
(RULE U-1 makes that two principals) had no way to ask which ones were theirs, which is
why the OAuth consent screen offered whichever one the console happened to be showing
(D-5514).
Unpaginated on purpose. The set is bounded by SEAT_LIMIT and is a person’s own
membership, not a listing that grows with the deployment. total counts the seats the
person holds rather than the ones that fit, so a reader over that bound sees total
run ahead of items instead of being told a short list is the whole of it (D-5515).
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
200 | Successful Response | Page_PrincipalOrganization_ |
Example
Section titled “Example”curl -X GET https://your-deployment.example.com/auth/me/organizations \ -H "Authorization: Bearer $COBRE_TOKEN"Response — Page_PrincipalOrganization_
Section titled “Response — Page_PrincipalOrganization_”| Field | Type | Notes | |
|---|---|---|---|
items | PrincipalOrganization[] | required | — |
next_cursor | string | null | optional | — |
total | integer | null | optional | — |