Update trust relationship
Updates a trust relationship.
Path parameters
-
trust_relationship_id
string Required Identifier for the trust relationship
Body
Required
The trust relationship definition
-
name
string A name for the trust relationship
-
trust_by_default
boolean If this relationship is trusted by default by all deployments in the current environment.
-
account_ids
array[string] The ID of the accounts to trust by this relationship.
-
public_ca_cert
string The public CA certificate of the environment to trust
-
installation_id
string The installation ID of the environment to trust
Responses
-
200 application/json
The request was valid and the trust relationship was updated.
-
400 application/json
The trust relationship request had errors.
-
401 application/json
You are not authorized to perform this action.
-
404 application/json
The trust relationship specified by {trust_relationship_id} cannot be found. (code:
trust_relationships.not_found
)
PUT
/platform/configuration/trust-relationships/{trust_relationship_id}
curl \
--request PUT 'https://{{hostname}}/api/v1/platform/configuration/trust-relationships/{trust_relationship_id}' \
--user "username:password" \
--header "Content-Type: application/json" \
--data '{"name":"string","trust_by_default":true,"account_ids":["string"],"public_ca_cert":"string","installation_id":"string"}'