Create Organization Trust Using POST
Create organization trust between two organizations.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Owner | ✔️ | ✔️ |
Unique identifier (GUID) of the organization.
Show optional properties
{
"allowedScopes": {},
"trustedOrgId": "string"
}
{
"allowedScopes": {
"allScopes": false,
"organizationScopes": {
"allRoles": false,
"roles": [
{
"name": "string",
"resources": [
"string"
]
}
]
},
"servicesScopes": [
{
"allRoles": false,
"roles": [
{
"name": "string",
"resources": [
"string"
]
}
],
"serviceDefinitionId": "string"
}
]
},
"description": "string",
"expiresAt": 0,
"trustedOrgId": "string",
"type": "string"
}
Defines the properties of the allowed scopes for organization trust.
The description about the trust.
The timestamp the trust expires at (measured in number of milliseconds since 1/1/1970 UTC).
Unique identifier (GUID) of the trusted organization.
The type of the organization trust.
Created
{
"id": "string"
}
The unique identifier of the resource.
Organization trust cannot expire in the past.
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
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
Organization with this identifier is not found.
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Active or pending organization trust between the organizations already exist.
{
"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