{
  "name": "DeregisterResource",
  "plane": "control",
  "terraformEligible": false,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudInventory.DeregisterResource",
    "service": "inventory"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "definitions": {
      "ResourceKind": {
        "enum": [
          "table",
          "queue",
          "secret",
          "object_bucket",
          "event_bus",
          "schedule",
          "function",
          "api",
          "api_integration",
          "api_authorizer",
          "api_route",
          "event_rule",
          "event_target",
          "dns_zone",
          "dns_record",
          "certificate",
          "api_domain_name",
          "site",
          "site_domain_binding"
        ],
        "type": "string"
      }
    },
    "properties": {
      "physicalId": {
        "type": "string"
      },
      "resourceType": {
        "$ref": "#/definitions/ResourceKind"
      }
    },
    "required": [
      "physicalId",
      "resourceType"
    ],
    "title": "DeregisterResourceRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "ok": {
        "type": "boolean"
      }
    },
    "required": [
      "ok"
    ],
    "title": "DeregisterResourceResponse",
    "type": "object"
  }
}
