[{"label":"Latest (v1.0)","version":"latest"}]
csp

Get Loggedin User Organizations Deprecated

Description

Get 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

Request

URL

URL


get
https://{api_host}/csp/gateway/am/api/loggedin/user/orgs
Copy

Query Parameters

Query Parameters

string
expand Optional

Indicates if response should be expanded, value is ignored - only existence of parameter is checked

Parameter Serialization Style: form Explode:true

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns OrganizationsDto of type application/json
{
	"items": [
		{
			"auditLogsInstanceId": "string",
			"displayName": "string",
			"enforceUserApiTokenMfa": false,
			"isMfaRequired": false,
			"language": "string",
			"locale": "string",
			"maxAllowedAuthExemptedUserCount": 0,
			"metadata": {
				"key": "string"
			},
			"name": "string",
			"parentRefLink": "string",
			"refLink": "string",
			"status": "string"
		}
	],
	"refLinks": [
		"string"
	]
}
array of OrganizationDto
items Optional

The list of organization properties.


array of string
refLinks Optional

Links of references

Errors

Errors

CspErrorResponse
400

Invalid request body


CspErrorResponse
401

The user is not authorized to use the API


CspErrorResponse
403

The user is forbidden to use the API


CspErrorResponse
404

No user with given token exists


CspErrorResponse
429

The user has sent too many requests


CspErrorResponse
500

An unexpected error has occurred while processing the request

Code Samples

Code Samples

cURL Command

curl https://{api_host}/csp/gateway/am/api/loggedin/user/orgs
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-required-roles: any
x-slo-tier: TIER2
x-vmw-doc-deprecated: ""


Feedback

Was this page helpful?