Get trust relationship
Retrieves information about a trust relationship.
Path parameters
-
Identifier for the trust relationship
Query parameters
-
include_certificate boolean
Whether to include the public CA certificates in the response.
Default value is
false
.
GET /platform/configuration/trust-relationships/{trust_relationship_id}
curl \
-X GET https://{{hostname}}/api/v1/platform/configuration/trust-relationships/{trust_relationship_id}
Response examples (200)
# Headers
x-cloud-resource-version: string
x-cloud-resource-created: string
x-cloud-resource-last-modified: string
# Payload
{
"id": "string",
"name": "string",
"trust_by_default": true,
"account_ids": [
"string"
],
"public_ca_cert": "string",
"local": true,
"installation_id": "string",
"last_modified": "2024-05-04T09:42:00+00:00"
}
Response examples (401)
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: trust_relationships.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}