# Delete subprocessor

URL: /en/docs/api/v1/subprocessors/id/delete
Last Updated: 2026-07-30T21:15:30.307Z

## Description
No description available.

## Available Actions
- Execute DELETE request
- View request parameters
- View response schema
- Get code examples
- Navigate to related topics
- View step-by-step instructions
- Get best practices

## Content
### DELETE /api/v1/subprocessors/{id}

**Delete subprocessor**

Permanently remove a subprocessor and detach linked assets.

**Authentication:** Bearer token (`Authorization: Bearer <token>`)

**Path parameters:**

| Name | Type | Required | Description |
|---|---|---|---|
| `id` | string | Yes |  |

**Responses:**

- `204` - Subprocessor deleted (no content)
- `401` - Unauthorized

  Example (unauthorized):
  
  ```json
  {
  "error": "unauthorized",
  "details": "Missing or invalid bearer token"
}
  ```
- `404` - Subprocessor not found

  Example (not_found):
  
  ```json
  {
  "error": "not_found",
  "details": "Subprocessor with id 'vendor-123' not found"
}
  ```
- `500` - Internal server error

  Example (server_error):
  
  ```json
  {
  "error": "server_error",
  "details": "Unexpected error occurred"
}
  ```

**Code samples:**

JS (fetch):

```javascript
await fetch("https://app.orbiqhq.com/api/v1/subprocessors/vendor-123", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${apiKey}` }
});

```

