Update Organization Trust
DescriptionUpdate organization trust.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Owner | ✔️ | ✔️ |
Request
URLURL
Path Parameters
Path Parameters
Unique identifier (GUID) of the organization.
Unique identifier ot the trust
Request Body
{
"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": "ACTIVE"
}
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 seconds since 1/1/1970 UTC).
The status of the organization trust.
Possible values are: ACTIVE , DEACTIVATED , EXPIRED , EXPIRATION_PROCESSING , EXPIRATION_PROCESSING_FAILED , ORG_DEACTIVATED
Authentication
Response
Response BodyResponse Body
200 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": "ACTIVE",
"trustId": "string",
"trustedOrg": {
"displayName": "string",
"id": "string",
"name": "string"
},
"trusteeOrg": {
"displayName": "string",
"id": "string",
"name": "string"
},
"type": "HIERARCHY"
}
Defines the properties of the allowed scopes for organization trust.
Timestamp, measured in number of seconds 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 seconds since 1/1/1970 UTC).
Timestamp, measured in number of seconds 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.
Possible values are: ACTIVE , DEACTIVATED , EXPIRED , EXPIRATION_PROCESSING , EXPIRATION_PROCESSING_FAILED , ORG_DEACTIVATED
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.
Possible values are: HIERARCHY
Errors
Cannot update non-active organization trust.
The user is not authorized to use the API
The user is forbidden to use the API
Organization trust with this identifier is not found.
The request could not be processed due to a conflict
The user has sent too many requests
An unexpected error has occurred while processing the request
Code Samples
cURL Command
Vendor Extensions
x-required-roles: org_owner
x-slo-tier: TIER2