Delete trust relationship

DELETE /platform/configuration/trust-relationships/{trust_relationship_id}

Deletes a trust relationship.

Path parameters

Query parameters

  • version integer

    If specified then checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)

Responses

  • The request was valid and the trust relationship was deleted.

    Additional properties are allowed.

  • You are not authorized to perform this action.

    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

  • The trust relationship specified by {trust_relationship_id} cannot be found. (code: trust_relationships.not_found)

    Hide headers attribute Show headers attribute
    • The error codes associated with the response

      Value is trust_relationships.not_found.

    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

DELETE /platform/configuration/trust-relationships/{trust_relationship_id}
curl \
 -X DELETE https://{{hostname}}/api/v1/platform/configuration/trust-relationships/{trust_relationship_id}
Response examples (200)
{}
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"
      ]
    }
  ]
}