# Delete Customer for Provider

```http
DELETE /providers/customers/{customerId}
```

API: Cisco Umbrella Providers API (version 2.0.0)

Operation ID: deleteProviderCustomer

Tags: Providers, Umbrella

## Description

Delete a customer for a provider.

## Servers

```json
[
  {
    "url": "https://api.umbrella.com/{basePath}",
    "variables": {
      "basePath": {
        "default": "admin/v2"
      }
    }
  }
]
```

## Authentication

Satisfy any one of the following alternatives. Within each alternative, all listed schemes are required. An empty object allows anonymous access.

```json
[
  {
    "oauthFlow": [
      "admin.customers:write"
    ]
  }
]
```

### Security schemes

```json
{
  "oauthFlow": {
    "type": "oauth2",
    "description": "The client credential flow.",
    "flows": {
      "clientCredentials": {
        "tokenUrl": "https://api.umbrella.com/auth/v2/token",
        "scopes": {
          "admin.customers:read": "Read admin customers",
          "admin.customers:write": "Write admin customers",
          "admin.customerSearch:read": "Read admin customer search",
          "admin.customerDeals:read": "Read admin customer deals",
          "admin.customerDeals:write": "Write admin customer deals"
        }
      }
    }
  }
}
```

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| customerId | path | yes | integer (int32) | The ID of the customer. |

### Parameter definitions

```json
[
  {
    "name": "customerId",
    "in": "path",
    "description": "The ID of the customer.",
    "required": true,
    "schema": {
      "type": "integer",
      "format": "int32"
    },
    "$$ref": "#/components/parameters/customerIdParam"
  }
]
```

## Responses

### 204

No Content

```json
{
  "description": "No Content",
  "headers": {
    "Content-Type": {
      "schema": {
        "type": "string"
      },
      "description": "The MIME content type of the response body.",
      "example": "application/json",
      "$$ref": "#/components/headers/Content-Type"
    },
    "Date": {
      "schema": {
        "type": "string",
        "format": "iso-date-time"
      },
      "description": "The date and time of the request that is represented in ISO 8601 format.\nThe timestamp uses Greenwich Mean Time (GMT).",
      "example": "Date: Mon, 18 Apr 2022 11:11:11 GMT",
      "$$ref": "#/components/headers/Date"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "type": "string",
        "nullable": true
      },
      "example": null
    }
  }
}
```

### 400

Bad Request

```json
{
  "description": "Bad Request",
  "headers": {
    "Content-Type": {
      "schema": {
        "type": "string"
      },
      "description": "The MIME content type of the response body.",
      "example": "application/json",
      "$$ref": "#/components/headers/Content-Type"
    },
    "Date": {
      "schema": {
        "type": "string",
        "format": "iso-date-time"
      },
      "description": "The date and time of the request that is represented in ISO 8601 format.\nThe timestamp uses Greenwich Mean Time (GMT).",
      "example": "Date: Mon, 18 Apr 2022 11:11:11 GMT",
      "$$ref": "#/components/headers/Date"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "description": "Message for Invalid request",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message for Invalid request"
          }
        }
      },
      "example": {
        "message": "Invalid request"
      }
    }
  },
  "$$ref": "#/components/responses/400Error"
}
```

### 401

Unauthorized

```json
{
  "description": "Unauthorized",
  "headers": {
    "Content-Type": {
      "schema": {
        "type": "string"
      },
      "description": "The MIME content type of the response body.",
      "example": "application/json",
      "$$ref": "#/components/headers/Content-Type"
    },
    "Date": {
      "schema": {
        "type": "string",
        "format": "iso-date-time"
      },
      "description": "The date and time of the request that is represented in ISO 8601 format.\nThe timestamp uses Greenwich Mean Time (GMT).",
      "example": "Date: Mon, 18 Apr 2022 11:11:11 GMT",
      "$$ref": "#/components/headers/Date"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "description": "Unauthorized request",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message for Unauthorized request"
          }
        }
      },
      "example": {
        "message": "Unauthorized request"
      }
    }
  },
  "$$ref": "#/components/responses/401Error"
}
```

### 403

Forbidden

```json
{
  "description": "Forbidden",
  "headers": {
    "Content-Type": {
      "schema": {
        "type": "string"
      },
      "description": "The MIME content type of the response body.",
      "example": "application/json",
      "$$ref": "#/components/headers/Content-Type"
    },
    "Date": {
      "schema": {
        "type": "string",
        "format": "iso-date-time"
      },
      "description": "The date and time of the request that is represented in ISO 8601 format.\nThe timestamp uses Greenwich Mean Time (GMT).",
      "example": "Date: Mon, 18 Apr 2022 11:11:11 GMT",
      "$$ref": "#/components/headers/Date"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "description": "Message for Forbidden",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message for Forbidden"
          }
        }
      },
      "example": {
        "message": "Forbidden"
      }
    }
  },
  "$$ref": "#/components/responses/403Error"
}
```

### 404

Not Found

```json
{
  "description": "Not Found",
  "headers": {
    "Content-Type": {
      "schema": {
        "type": "string"
      },
      "description": "The MIME content type of the response body.",
      "example": "application/json",
      "$$ref": "#/components/headers/Content-Type"
    },
    "Date": {
      "schema": {
        "type": "string",
        "format": "iso-date-time"
      },
      "description": "The date and time of the request that is represented in ISO 8601 format.\nThe timestamp uses Greenwich Mean Time (GMT).",
      "example": "Date: Mon, 18 Apr 2022 11:11:11 GMT",
      "$$ref": "#/components/headers/Date"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "description": "Message for Not Found",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message for Not Found"
          }
        }
      },
      "example": {
        "message": "Not Found"
      }
    }
  },
  "$$ref": "#/components/responses/404Error"
}
```

### 500

Internal Server Error

```json
{
  "description": "Internal Server Error",
  "headers": {
    "Content-Type": {
      "schema": {
        "type": "string"
      },
      "description": "The MIME content type of the response body.",
      "example": "application/json",
      "$$ref": "#/components/headers/Content-Type"
    },
    "Date": {
      "schema": {
        "type": "string",
        "format": "iso-date-time"
      },
      "description": "The date and time of the request that is represented in ISO 8601 format.\nThe timestamp uses Greenwich Mean Time (GMT).",
      "example": "Date: Mon, 18 Apr 2022 11:11:11 GMT",
      "$$ref": "#/components/headers/Date"
    }
  },
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "description": "Message for Server error",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message for Server error"
          }
        }
      },
      "example": {
        "message": "server error"
      }
    }
  },
  "$$ref": "#/components/responses/500Error"
}
```

## Additional OpenAPI fields

```json
{
  "__originalOperationId": "deleteProviderCustomer"
}
```
