---
title: "Detach a network interface from a stopped instance"
description: "Synchronous. The instance must be stopped. The primary interface can't be detached (409 primary_interface)."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: EZGH Compute API

`POST /v1/organizations/{orgId}/projects/{projectId}/instances/{instance}/detach-network-interface`

Synchronous. The instance must be stopped. The primary interface can't be detached (409 primary_interface).

## Authentication

Requires one of the following:

- `apiKey`, http, header `Authorization`
- `oauth`, http, header `Authorization`
- `sessionCookie`, apiKey, in cookie

## Path parameters

- `DetachNetworkInterface.path.orgId` (string, required) — UUID or prefixed ID (org_…)
- `DetachNetworkInterface.path.projectId` (string, required) — UUID or prefixed ID (prj_…)
- `DetachNetworkInterface.path.instance` (string, required) — The instance's prefixed ID (ins_…) or its UUID.

## Header parameters

- `DetachNetworkInterface.header.Idempotency-Key` (string, optional) — Makes a retry safe: the same key and request get the stored response.
  - pattern `^[\x21-\x7e]{1,200}$`

## Request body

_Required._

- `DetachNetworkInterface.networkInterfaceId` (string, required) — The interface's eni_ ID (a UUID is 400 invalid_request).
  - pattern `^eni_[a-z0-9]{12}$`

## Example request

```json
{
  "networkInterfaceId": "string"
}
```

## Code samples

### cURL

```curl
curl --request POST \
  --url https://compute-api.ezghcloud.com/v1/organizations/string/projects/string/instances/string/detach-network-interface \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "networkInterfaceId": "string"
}
'
```

### TypeScript

```typescript
const url = 'https://compute-api.ezghcloud.com/v1/organizations/string/projects/string/instances/string/detach-network-interface';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({networkInterfaceId: 'string'})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://compute-api.ezghcloud.com/v1/organizations/string/projects/string/instances/string/detach-network-interface"

payload = { "networkInterfaceId": "string" }
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

The instance, with the change.

#### Example

```json
{
  "architecture": "string",
  "bot": {
    "id": "string",
    "name": "string"
  },
  "cpuFamily": "shared",
  "createdAt": "2019-08-24T14:15:22Z",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "image": {
    "alias": "string",
    "id": "string",
    "sha256": "string"
  },
  "instanceStore": {
    "disks": 0,
    "iops": 0,
    "sizeGiB": 0,
    "throughputMBps": 0
  },
  "instanceType": "string",
  "launchedAt": "2019-08-24T14:15:22Z",
  "memoryMiB": 0,
  "name": "string",
  "networkInterfaceIds": [
    "string"
  ],
  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
  "primaryNetworkInterfaceId": "string",
  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  "region": "string",
  "resourceName": "string",
  "rootDevice": "volume",
  "rootVolumeId": "string",
  "slug": "string",
  "sshKeys": [
    {
      "fingerprint": "string",
      "id": "string"
    }
  ],
  "status": "pending",
  "statusChecks": {
    "instance": {
      "checks": [
        {
          "name": "string",
          "reason": {
            "code": "string",
            "detail": {
              "property1": "string",
              "property2": "string"
            },
            "message": "string"
          },
          "since": "2019-08-24T14:15:22Z",
          "status": "passed"
        }
      ],
      "since": "2019-08-24T14:15:22Z",
      "status": "passed"
    },
    "system": {
      "checks": [
        {
          "name": "string",
          "reason": {
            "code": "string",
            "detail": {
              "property1": "string",
              "property2": "string"
            },
            "message": "string"
          },
          "since": "2019-08-24T14:15:22Z",
          "status": "passed"
        }
      ],
      "since": "2019-08-24T14:15:22Z",
      "status": "passed"
    },
    "updatedAt": "2019-08-24T14:15:22Z"
  },
  "statusReason": {
    "code": "string",
    "message": "string"
  },
  "tags": {
    "property1": "string",
    "property2": "string"
  },
  "updatedAt": "2019-08-24T14:15:22Z",
  "vcpus": 0,
  "volumeHotplug": true,
  "volumeIds": [
    "string"
  ]
}
```

- `DetachNetworkInterface.response.200.architecture` (string, required)
- `DetachNetworkInterface.response.200.bot` (object | null, required) — The Bot attached to the instance: code on the instance gets short-lived API keys acting as it from the metadata service. null with none.
  - `DetachNetworkInterface.response.200.bot.id` (string, required) — The Bot's bot_ ID.
    - pattern `^bot_[a-z0-9]{12}$`
  - `DetachNetworkInterface.response.200.bot.name` (string | null, required) — The Bot's name on a single instance's read; null in lists, or when the Bot no longer exists.
- `DetachNetworkInterface.response.200.cpuFamily` (unknown, required)
  - one of `"shared"`, `"dedicated"`
- `DetachNetworkInterface.response.200.createdAt` (string, required)
  - format `date-time`
- `DetachNetworkInterface.response.200.id` (string, required)
  - format `uuid`
- `DetachNetworkInterface.response.200.image` (object, required)
  - `DetachNetworkInterface.response.200.image.alias` (string, required) — The image alias the instance launched from; empty for a launch from an exact image ID or a root volume restored from a snapshot.
  - `DetachNetworkInterface.response.200.image.id` (string, required) — The exact image (img_…) the launch resolved; empty for a root restored from a snapshot.
  - `DetachNetworkInterface.response.200.image.sha256` (string, required) — The sha256 of the exact image the launch resolved; empty for a root restored from a snapshot.
- `DetachNetworkInterface.response.200.instanceStore` (object | null, required) — Copied from the instance type when it was set; null for types without. Ephemeral: contents are lost when the instance stops, is terminated or moves to another host; a reboot keeps them.
  - `DetachNetworkInterface.response.200.instanceStore.disks` (integer, required)
  - `DetachNetworkInterface.response.200.instanceStore.iops` (integer | null, required)
  - `DetachNetworkInterface.response.200.instanceStore.sizeGiB` (integer, required)
  - `DetachNetworkInterface.response.200.instanceStore.throughputMBps` (integer | null, required)
- `DetachNetworkInterface.response.200.instanceType` (string, required)
- `DetachNetworkInterface.response.200.launchedAt` (string | null, required)
  - format `date-time`
- `DetachNetworkInterface.response.200.memoryMiB` (integer, required)
- `DetachNetworkInterface.response.200.name` (string, required)
- `DetachNetworkInterface.response.200.networkInterfaceIds` (array<string>, required)
- `DetachNetworkInterface.response.200.organizationId` (string, required)
  - format `uuid`
- `DetachNetworkInterface.response.200.primaryNetworkInterfaceId` (string | null, required)
- `DetachNetworkInterface.response.200.projectId` (string, required)
  - format `uuid`
- `DetachNetworkInterface.response.200.region` (string, required)
- `DetachNetworkInterface.response.200.resourceName` (string, required)
- `DetachNetworkInterface.response.200.rootDevice` (string, required) — Where the root lives: a block storage volume (rootVolumeId), or instance store disk 0 (rootVolumeId null; the instance can be rebooted and terminated but not stopped or resized).
  - one of `"volume"`, `"instanceStore"`
- `DetachNetworkInterface.response.200.rootVolumeId` (string | null, required)
- `DetachNetworkInterface.response.200.slug` (string, required)
- `DetachNetworkInterface.response.200.sshKeys` (array<object>, required)
  - `DetachNetworkInterface.response.200.sshKeys.fingerprint` (string, required)
  - `DetachNetworkInterface.response.200.sshKeys.id` (string, required)
- `DetachNetworkInterface.response.200.status` (unknown, required)
  - one of `"pending"`, `"running"`, `"rebooting"`, `"stopping"`, `"stopped"`, `"starting"`, `"resizing"`, `"terminating"`, `"impaired"`, `"recovering"`, `"failed"`
- `DetachNetworkInterface.response.200.statusReason` (object | null, required)
  - `DetachNetworkInterface.response.200.statusReason.code` (string, required)
  - `DetachNetworkInterface.response.200.statusReason.message` (string, required)
- `DetachNetworkInterface.response.200.tags` (map<string>, required) — At most 50; keys 1-128 characters, values at most 256, keys starting with ezgh: are reserved.
- `DetachNetworkInterface.response.200.updatedAt` (string, required)
  - format `date-time`
- `DetachNetworkInterface.response.200.vcpus` (integer, required)
- `DetachNetworkInterface.response.200.volumeHotplug` (boolean, required) — Whether attach-volume and detach-volume work on the instance while it runs. False until the instance's first start after the feature was enabled, and while it's stopped.
- `DetachNetworkInterface.response.200.volumeIds` (array<string>, required)
- `DetachNetworkInterface.response.200.statusChecks` (object, optional) — The instance's status checks, on get and list. system: problems EZGH fixes (the host, the VM process, volumes, the cell); instance: problems inside the guest (no answer to probes, a kernel panic).
  - `DetachNetworkInterface.response.200.statusChecks.instance` (object, required)
    - `DetachNetworkInterface.response.200.statusChecks.instance.checks` (array<object>, required)
      - `DetachNetworkInterface.response.200.statusChecks.instance.checks.name` (string, required) — system: host, process, volumes; instance: reachability, kernel.
      - `DetachNetworkInterface.response.200.statusChecks.instance.checks.reason` (object | null, required)
        - `DetachNetworkInterface.response.200.statusChecks.instance.checks.reason.code` (string, required) — host_unreachable, cell_unreachable, migration_unresolved, instance_process_failed, volume_io_error, volume_io_stalled, no_probe_reply or kernel_panic.
        - `DetachNetworkInterface.response.200.statusChecks.instance.checks.reason.message` (string, required)
        - `DetachNetworkInterface.response.200.statusChecks.instance.checks.reason.detail` (map<string>, optional) — volumeId for the volume reasons.
      - `DetachNetworkInterface.response.200.statusChecks.instance.checks.since` (string | null, required) — When this check entered its status; null before the cell first judged it.
        - format `date-time`
      - `DetachNetworkInterface.response.200.statusChecks.instance.checks.status` (unknown, required)
        - one of `"passed"`, `"failed"`, `"initializing"`, `"not_applicable"`, `"unknown"`
    - `DetachNetworkInterface.response.200.statusChecks.instance.since` (string, required)
      - format `date-time`
    - `DetachNetworkInterface.response.200.statusChecks.instance.status` (unknown, required)
      - one of `"passed"`, `"failed"`, `"initializing"`, `"not_applicable"`, `"unknown"`
  - `DetachNetworkInterface.response.200.statusChecks.system` (object, required)
    - `DetachNetworkInterface.response.200.statusChecks.system.checks` (array<object>, required)
      - `DetachNetworkInterface.response.200.statusChecks.system.checks.name` (string, required) — system: host, process, volumes; instance: reachability, kernel.
      - `DetachNetworkInterface.response.200.statusChecks.system.checks.reason` (object | null, required)
        - `DetachNetworkInterface.response.200.statusChecks.system.checks.reason.code` (string, required) — host_unreachable, cell_unreachable, migration_unresolved, instance_process_failed, volume_io_error, volume_io_stalled, no_probe_reply or kernel_panic.
        - `DetachNetworkInterface.response.200.statusChecks.system.checks.reason.message` (string, required)
        - `DetachNetworkInterface.response.200.statusChecks.system.checks.reason.detail` (map<string>, optional) — volumeId for the volume reasons.
      - `DetachNetworkInterface.response.200.statusChecks.system.checks.since` (string | null, required) — When this check entered its status; null before the cell first judged it.
        - format `date-time`
      - `DetachNetworkInterface.response.200.statusChecks.system.checks.status` (unknown, required)
        - one of `"passed"`, `"failed"`, `"initializing"`, `"not_applicable"`, `"unknown"`
    - `DetachNetworkInterface.response.200.statusChecks.system.since` (string, required)
      - format `date-time`
    - `DetachNetworkInterface.response.200.statusChecks.system.status` (unknown, required)
      - one of `"passed"`, `"failed"`, `"initializing"`, `"not_applicable"`, `"unknown"`
  - `DetachNetworkInterface.response.200.statusChecks.updatedAt` (string, required) — When the cell last changed the checks.
    - format `date-time`

### 400

invalid_request (with issues), invalid_cursor, or the endpoint's own 400 codes.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `DetachNetworkInterface.response.400.error` (object, required)
  - `DetachNetworkInterface.response.400.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `DetachNetworkInterface.response.400.error.message` (string, required)
    - maxLength 1024
  - `DetachNetworkInterface.response.400.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `DetachNetworkInterface.response.400.error.issues.message` (string, required)
    - `DetachNetworkInterface.response.400.error.issues.path` (string, required)
  - `DetachNetworkInterface.response.400.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `DetachNetworkInterface.response.400.error.quota.id` (string, required)
    - `DetachNetworkInterface.response.400.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `DetachNetworkInterface.response.400.error.quota.limit` (integer, required)
      - min 0
    - `DetachNetworkInterface.response.400.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `DetachNetworkInterface.response.400.error.quota.inFlight` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.400.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.400.error.quota.region` (string, optional)
    - `DetachNetworkInterface.response.400.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.400.error.quota.scopeResourceName` (string, optional)
    - `DetachNetworkInterface.response.400.error.quota.used` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.400.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 401

unauthenticated: no credential, or one that doesn't check out.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `DetachNetworkInterface.response.401.error` (object, required)
  - `DetachNetworkInterface.response.401.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `DetachNetworkInterface.response.401.error.message` (string, required)
    - maxLength 1024
  - `DetachNetworkInterface.response.401.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `DetachNetworkInterface.response.401.error.issues.message` (string, required)
    - `DetachNetworkInterface.response.401.error.issues.path` (string, required)
  - `DetachNetworkInterface.response.401.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `DetachNetworkInterface.response.401.error.quota.id` (string, required)
    - `DetachNetworkInterface.response.401.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `DetachNetworkInterface.response.401.error.quota.limit` (integer, required)
      - min 0
    - `DetachNetworkInterface.response.401.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `DetachNetworkInterface.response.401.error.quota.inFlight` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.401.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.401.error.quota.region` (string, optional)
    - `DetachNetworkInterface.response.401.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.401.error.quota.scopeResourceName` (string, optional)
    - `DetachNetworkInterface.response.401.error.quota.used` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.401.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 403

access_denied: the caller's policies don't allow the action; forbidden_origin: a cookie-authenticated write from an origin that isn't allowed; spend_limit_reached.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `DetachNetworkInterface.response.403.error` (object, required)
  - `DetachNetworkInterface.response.403.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `DetachNetworkInterface.response.403.error.message` (string, required)
    - maxLength 1024
  - `DetachNetworkInterface.response.403.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `DetachNetworkInterface.response.403.error.issues.message` (string, required)
    - `DetachNetworkInterface.response.403.error.issues.path` (string, required)
  - `DetachNetworkInterface.response.403.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `DetachNetworkInterface.response.403.error.quota.id` (string, required)
    - `DetachNetworkInterface.response.403.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `DetachNetworkInterface.response.403.error.quota.limit` (integer, required)
      - min 0
    - `DetachNetworkInterface.response.403.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `DetachNetworkInterface.response.403.error.quota.inFlight` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.403.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.403.error.quota.region` (string, optional)
    - `DetachNetworkInterface.response.403.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.403.error.quota.scopeResourceName` (string, optional)
    - `DetachNetworkInterface.response.403.error.quota.used` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.403.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 404

not_found: unknown, malformed, or in an organization the caller isn't in.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `DetachNetworkInterface.response.404.error` (object, required)
  - `DetachNetworkInterface.response.404.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `DetachNetworkInterface.response.404.error.message` (string, required)
    - maxLength 1024
  - `DetachNetworkInterface.response.404.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `DetachNetworkInterface.response.404.error.issues.message` (string, required)
    - `DetachNetworkInterface.response.404.error.issues.path` (string, required)
  - `DetachNetworkInterface.response.404.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `DetachNetworkInterface.response.404.error.quota.id` (string, required)
    - `DetachNetworkInterface.response.404.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `DetachNetworkInterface.response.404.error.quota.limit` (integer, required)
      - min 0
    - `DetachNetworkInterface.response.404.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `DetachNetworkInterface.response.404.error.quota.inFlight` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.404.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.404.error.quota.region` (string, optional)
    - `DetachNetworkInterface.response.404.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.404.error.quota.scopeResourceName` (string, optional)
    - `DetachNetworkInterface.response.404.error.quota.used` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.404.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 409

quota_exceeded (an allocation quota, with quota), idempotency_conflict, idempotency_in_progress (with Retry-After), organization_deletion_pending, operation_in_progress, or the endpoint's own 409 codes.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `DetachNetworkInterface.response.409.error` (object, required)
  - `DetachNetworkInterface.response.409.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `DetachNetworkInterface.response.409.error.message` (string, required)
    - maxLength 1024
  - `DetachNetworkInterface.response.409.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `DetachNetworkInterface.response.409.error.issues.message` (string, required)
    - `DetachNetworkInterface.response.409.error.issues.path` (string, required)
  - `DetachNetworkInterface.response.409.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `DetachNetworkInterface.response.409.error.quota.id` (string, required)
    - `DetachNetworkInterface.response.409.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `DetachNetworkInterface.response.409.error.quota.limit` (integer, required)
      - min 0
    - `DetachNetworkInterface.response.409.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `DetachNetworkInterface.response.409.error.quota.inFlight` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.409.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.409.error.quota.region` (string, optional)
    - `DetachNetworkInterface.response.409.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.409.error.quota.scopeResourceName` (string, optional)
    - `DetachNetworkInterface.response.409.error.quota.used` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.409.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 413

payload_too_large: the body is over the endpoint's limit (1 MiB unless it says otherwise).

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `DetachNetworkInterface.response.413.error` (object, required)
  - `DetachNetworkInterface.response.413.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `DetachNetworkInterface.response.413.error.message` (string, required)
    - maxLength 1024
  - `DetachNetworkInterface.response.413.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `DetachNetworkInterface.response.413.error.issues.message` (string, required)
    - `DetachNetworkInterface.response.413.error.issues.path` (string, required)
  - `DetachNetworkInterface.response.413.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `DetachNetworkInterface.response.413.error.quota.id` (string, required)
    - `DetachNetworkInterface.response.413.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `DetachNetworkInterface.response.413.error.quota.limit` (integer, required)
      - min 0
    - `DetachNetworkInterface.response.413.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `DetachNetworkInterface.response.413.error.quota.inFlight` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.413.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.413.error.quota.region` (string, optional)
    - `DetachNetworkInterface.response.413.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.413.error.quota.scopeResourceName` (string, optional)
    - `DetachNetworkInterface.response.413.error.quota.used` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.413.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 429

too_many_requests, with Retry-After; or quota_exceeded (a rate, usage or concurrency quota, with quota), never with Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `DetachNetworkInterface.response.429.error` (object, required)
  - `DetachNetworkInterface.response.429.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `DetachNetworkInterface.response.429.error.message` (string, required)
    - maxLength 1024
  - `DetachNetworkInterface.response.429.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `DetachNetworkInterface.response.429.error.issues.message` (string, required)
    - `DetachNetworkInterface.response.429.error.issues.path` (string, required)
  - `DetachNetworkInterface.response.429.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `DetachNetworkInterface.response.429.error.quota.id` (string, required)
    - `DetachNetworkInterface.response.429.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `DetachNetworkInterface.response.429.error.quota.limit` (integer, required)
      - min 0
    - `DetachNetworkInterface.response.429.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `DetachNetworkInterface.response.429.error.quota.inFlight` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.429.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.429.error.quota.region` (string, optional)
    - `DetachNetworkInterface.response.429.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.429.error.quota.scopeResourceName` (string, optional)
    - `DetachNetworkInterface.response.429.error.quota.used` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.429.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 500

internal_error: a bug; the details are in the logs, under the request ID.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `DetachNetworkInterface.response.500.error` (object, required)
  - `DetachNetworkInterface.response.500.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `DetachNetworkInterface.response.500.error.message` (string, required)
    - maxLength 1024
  - `DetachNetworkInterface.response.500.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `DetachNetworkInterface.response.500.error.issues.message` (string, required)
    - `DetachNetworkInterface.response.500.error.issues.path` (string, required)
  - `DetachNetworkInterface.response.500.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `DetachNetworkInterface.response.500.error.quota.id` (string, required)
    - `DetachNetworkInterface.response.500.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `DetachNetworkInterface.response.500.error.quota.limit` (integer, required)
      - min 0
    - `DetachNetworkInterface.response.500.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `DetachNetworkInterface.response.500.error.quota.inFlight` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.500.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.500.error.quota.region` (string, optional)
    - `DetachNetworkInterface.response.500.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.500.error.quota.scopeResourceName` (string, optional)
    - `DetachNetworkInterface.response.500.error.quota.used` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.500.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 503

unavailable: a dependency the request needs is down. Retry after Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `DetachNetworkInterface.response.503.error` (object, required)
  - `DetachNetworkInterface.response.503.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `DetachNetworkInterface.response.503.error.message` (string, required)
    - maxLength 1024
  - `DetachNetworkInterface.response.503.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `DetachNetworkInterface.response.503.error.issues.message` (string, required)
    - `DetachNetworkInterface.response.503.error.issues.path` (string, required)
  - `DetachNetworkInterface.response.503.error.quota` (object, optional) — quota_exceeded: the quota that refused the request. Never with Retry-After.
    - `DetachNetworkInterface.response.503.error.quota.id` (string, required)
    - `DetachNetworkInterface.response.503.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `DetachNetworkInterface.response.503.error.quota.limit` (integer, required)
      - min 0
    - `DetachNetworkInterface.response.503.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `DetachNetworkInterface.response.503.error.quota.inFlight` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.503.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.503.error.quota.region` (string, optional)
    - `DetachNetworkInterface.response.503.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `DetachNetworkInterface.response.503.error.quota.scopeResourceName` (string, optional)
    - `DetachNetworkInterface.response.503.error.quota.used` (integer, optional)
      - min 0
    - `DetachNetworkInterface.response.503.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.


Source: https://docs.ezghcloud.com/compute-api/DetachNetworkInterface/index.md
