Create Organization Trust Using POST
Create organization trust between two organizations. Org owner can ONLY create trust type of CUSTOM.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Owner | ✔️ | ✔️ |
Unique identifier (GUID) of the organization.
"OrganizationTrustCreateRequest Object"
Unique identifier (GUID) of the trusted organization.
The timestamp the trust expires at (measured in number of milliseconds since 1/1/1970 UTC).
Defines the properties of the allowed scopes for organization trust.
The type of the organization trust.
The description about the trust.
Created
{
"id": "string"
}
The unique identifier of the resource.
Organization trust cannot expire in the past.
"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
Organization with this identifier is not found.
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
Active or pending organization trust between the organizations already exist.
"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 -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/trusts