Update Organization Trust Using PATCH
Update organization trust.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Owner | ✔️ | ✔️ |
Unique identifier (GUID) of the organization.
Unique identifier ot the uni-directional trust.
"OrganizationTrustUpdateRequest Object"
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 description about the trust.
The status of the organization trust. Update of the status is currently restricted.
OK
{
"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"
}
The status of the organization trust.
The timestamp the trust expires at (measured in number of milliseconds since 1/1/1970 UTC).
Unique identifier (GUID) of the trust.
Unique identifier (GUID) of the trusted organization that is the beneficiary of the trust. Typically the management org.
The username (email) of the user who created the organization trust.
Unique identifier (GUID) of the trusted organization that is the beneficiary of the trust. Typically the management org.
Timestamp, measured in number of milliseconds since 1/1/1970 UTC, indicating when the organization trust was created.
Timestamp, measured in number of milliseconds since 1/1/1970 UTC, indicating when the organization trust was last updated.
The description about the trust.
Defines the properties of the allowed scopes for organization trust.
The type of the organization trust.
The username (email) of the user who last updated the organization trust.
Cannot update non-active organization trust.
"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 trust with this identifier is not found.
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The request could not be processed due to a conflict
"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 PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]'