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 trust
{
"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,
"status": "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).
The status of the organization trust. Update of the status is currently restricted.
OK
{
"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"
}
Defines the properties of the allowed scopes for organization trust.
Timestamp, measured in number of milliseconds since 1/1/1970 UTC, indicating when the organization trust was created.
The username (email) of the user who created the organization trust.
The description about the trust.
The timestamp the trust expires at (measured in number of milliseconds since 1/1/1970 UTC).
Timestamp, measured in number of milliseconds since 1/1/1970 UTC, indicating when the organization trust was last updated.
The username (email) of the user who last updated the organization trust.
The status of the organization trust.
Unique identifier (GUID) of the trust.
Defines the lean properties of the organization in the trust.
Defines the lean properties of the organization in the trust.
The type of the organization trust.
Cannot update non-active organization trust.
{
"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 trust with this identifier is not found.
{
"cspErrorCode": "string",
"errorCode": "string",
"message": "string",
"moduleCode": 0,
"requestId": "string",
"statusCode": 0
}
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The request could not be processed due to a conflict
{
"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