Get Sub Organizations By Organization Id Using GET
Get sub-organizations of the specified parent organization.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ❌ |
Organization Owner | ✔️ | ❌ |
Unique identifier (GUID) of the organization.
Filter results by organization tag
Created
{
"prevLink": "/csp/serviceName/ResourceName?pageStart=30&pageLimit=15",
"results": [
{
"language": "string",
"displayName": "string",
"name": "string",
"maxAllowedAuthExemptedUserCount": 0,
"customerId": "string",
"refLink": "string",
"type": "string",
"parentRefLink": "string",
"locale": "string",
"trustedOrgs": [
{
"displayName": "string",
"id": "string",
"trustType": "string"
}
],
"enforceUserApiTokenMfa": false,
"trusteeOrgs": [
{
"displayName": "string",
"id": "string",
"trustType": "string"
}
],
"auditLogsInstanceId": "string",
"metadata": {
"metadata": "string"
},
"isMfaRequired": false,
"status": "string"
}
],
"totalResults": 2000,
"nextLink": "/csp/serviceName/ResourceName?pageStart=60&pageLimit=15"
}
Relative path to previous page if exists. Not returned for POST requests.
Partial list of returned results.
Total number of results if available.
Relative path to next page if exists. Not returned for POST requests.
Missing required parameters or invalid parameters in request body returns a 400 (bad request) status code
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user is not authorized to use the API
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user is forbidden to use the API
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The requested resource could not be found
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
An unexpected error has occurred while processing the request
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
curl -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/sub-orgs