Get User Orgs
Use this API instead:
- /oidc/userinfo
Currently one user can belong to exactly one organization. Result contains detailed information for the organization.
Access Policy
Role | Access |
---|---|
Platform operator | ✔️ |
Organization Owner | ✔️ |
Organization Member | ✔️ |
Service Account (Whitelisted Client) | ✔️ |
Specifies the index that the set of results will begin with.
Specifies the maximum results per page for every call.
OK
{
"results": [
{
"name": "string",
"displayName": "string",
"metadata": {
"metadata": "string"
},
"id": "string",
"refLink": "string",
"parentRefLink": "string"
}
],
"nextLink": "string",
"prevLink": "string",
"totalResults": 0
}
The list of results.
URL to the next page of results.
URL to the previous page of result.
The total number of results on all pages.
The user is not authorized to use the API.
"PagedResponseOrganizationResponse Object"
The list of results.
URL to the next page of results.
URL to the previous page of result.
The total number of results on all pages.
The user is not part of any organization.
"PagedResponseOrganizationResponse Object"
The list of results.
URL to the next page of results.
URL to the previous page of result.
The total number of results on all pages.
curl -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/v2/loggedin/user/orgs