Get Organization Trusts Using GET
Get organization trusts.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Unique identifier (GUID) of the organization.
Unique identifier ot the uni-directional trust.
Unique identifier (GUID) of the trustee organization that originates trust. Typically the member org.
Unique identifier (GUID) of the trusted organization that is the beneficiary of the trust. Typically the management org.
The type of the organization trust.
Specifies the index that the set of results will begin with
Specifies the maximum results per page for every call.
The status of the organization trust.
OK
{
"prevLink": "/csp/serviceName/ResourceName?pageStart=30&pageLimit=15",
"results": [
{
"status": "string",
"expiresAt": 0,
"trustId": "string",
"trusteeOrg": {
"id": "string",
"displayName": "string"
},
"createdBy": "string",
"trustedOrg": {
"id": "string",
"displayName": "string"
},
"createdAt": 0,
"lastUpdatedAt": 0,
"description": "string",
"allowedScopes": {
"organizationScopes": {
"roles": [
{
"name": "string",
"resources": [
"string"
]
}
],
"allRoles": false
},
"servicesScopes": [
{
"serviceDefinitionId": "string",
"roles": [
{
"name": "string",
"resources": [
"string"
]
}
],
"allRoles": false
}
],
"allScopes": false
},
"type": "string",
"lastUpdatedBy": "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.
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}/trusts