Get Organization Trusts Using GET
Get organization trusts.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Owner | ✔️ | ✔️ |
Unique identifier (GUID) of the organization.
Unique identifier ot the trust
Unique identifier (GUID) of the trustee organization.
Unique identifier (GUID) of the trusted organization.
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
{
"nextLink": "/csp/serviceName/ResourceName?pageStart=60&pageLimit=15",
"prevLink": "/csp/serviceName/ResourceName?pageStart=30&pageLimit=15",
"results": [
{
"allowedScopes": {
"allScopes": false,
"organizationScopes": {
"allRoles": false,
"roles": [
{
"name": "string",
"resources": [
"string"
]
}
]
},
"servicesScopes": [
{
"allRoles": false,
"roles": [
{
"name": "string",
"resources": [
"string"
]
}
],
"serviceDefinitionId": "string"
}
]
},
"createdAt": 0,
"createdBy": "string",
"description": "string",
"expiresAt": 0,
"lastUpdatedAt": 0,
"lastUpdatedBy": "string",
"status": "string",
"trustId": "string",
"trustedOrg": {
"displayName": "string",
"id": "string",
"name": "string"
},
"trusteeOrg": {
"displayName": "string",
"id": "string",
"name": "string"
},
"type": "string"
}
],
"totalResults": 2000
}
Relative path to next page if exists. Not returned for POST requests.
Relative path to previous page if exists. Not returned for POST requests.
Total number of results if available.
The user is not authorized to use the API
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user is forbidden to use the API
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The requested resource could not be found
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user has sent too many requests
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
An unexpected error has occurred while processing the request
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode