[{"label":"Latest (v1.0)","version":"latest"}]
csp
Get Loggedin User Organizations V2
DescriptionGet organizations of principal user.
Principal user is identified via a token. The token should be passed in a header called csp-auth-token.If expand parameter is passed, detailed information for the organizations will be returned.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
All Roles | ✔️ | ❌ |
Request
URLURL
https://{api_host}/csp/gateway/am/api/v2/loggedin/user/orgs
Query Parameters
Query Parameters
integer
pageLimit
Optional
Page size
Parameter Serialization Style:
form Explode:true
integer
pageStart
Optional
Start index
Parameter Serialization Style:
form Explode:true
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
PagedResponseOrganizationDto
of type application/json
{
"nextLink": "/csp/serviceName/ResourceName?pageStart=60&pageLimit=15",
"prevLink": "/csp/serviceName/ResourceName?pageStart=30&pageLimit=15",
"results": [
{
"auditLogsInstanceId": "string",
"displayName": "string",
"enforceUserApiTokenMfa": false,
"isMfaRequired": false,
"language": "string",
"locale": "string",
"maxAllowedAuthExemptedUserCount": 0,
"metadata": {
"key": "string"
},
"name": "string",
"parentRefLink": "string",
"refLink": "string"
}
],
"totalResults": 2000
}
string
nextLink
Optional
Relative path to next page if exists. Not returned for POST requests.
string
prevLink
Optional
Relative path to previous page if exists. Not returned for POST requests.
integer as int32
totalResults
Optional
Total number of results if available.
Errors
Code Samples
Code Samples
cURL Command
curl https://{api_host}/csp/gateway/am/api/v2/loggedin/user/orgs
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-required-roles: any
x-slo-tier: TIER2
[{"label":"Latest (v1.0)","version":"latest"}]
csp