> This page is for API, version 2026-01-01 (Stable) (default).
> For other versions, use one of these documentation indexes:
> - 2026-01-01 (Stable) (default): https://developer.deel.com/api/stable/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.deel.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.deel.com/_mcp/server.

# Create a clearance request for an asset

POST https://api.letsdeel.com/rest/it/assets/{asset_id}/clear
Content-Type: application/json

Retires a device at end of life, for resale value or certified data erasure. Creates a clearance request for the given asset so it can be recovered, resold, or written off. The referenced manager is recorded as the requester and receives lifecycle notifications. Clearance must be enabled for the organization.

 **Token scopes**: `it-service-requests:write`

 **Beta**: this version requires the `X-Beta: true` request header and its contract may change before it is promoted to stable. It is scheduled to become stable on 2026-12-17.

Reference: https://developer.deel.com/api/reference/endpoints/clearance-requests/clear-it-asset-v-2026-09-17

## Authentication

- `Authorization` header (bearer token, required) — ## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
- `Authorization` header (bearer token, required) — Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

## Servers

- `https://api.letsdeel.com/rest` (Production, default)
- `https://api-staging.letsdeel.com/rest` (Demo)

## Request

### Path parameters

- `asset_id` (string, required) — Unique identifier of the IT asset

### Headers

- `X-Beta` (enum, required, default: true) — Opts in to the beta version of this endpoint. Must be `true`.
  - Allowed values: `true`

### Body (application/json)

This endpoint expects an object.

- `data` (ItAssetsAssetIdClearPostRequestBodyContentApplicationJsonSchemaData, required)

## Response

### 200

OK

- `data` (ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaData, required)

## Errors

### 400 Bad Request Error

Bad Request

- `errors` (list of ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 401 Unauthorized Error

Unauthorized

- `errors` (list of ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 403 Forbidden Error

Forbidden

- `errors` (list of ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 404 Not Found Error

Not Found

- `errors` (list of ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 409 Conflict Error

Conflict

- `errors` (list of ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 500 Internal Server Error

Internal Server Error

- `errors` (list of ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaErrorsItems, required)

## Types

### ItAssetsAssetIdClearPostRequestBodyContentApplicationJsonSchemaData

- `manager_hris_profile_id` (string, required) — HRIS profile identifier of the manager attributed as the requester of the clearance. Must be a manager in the same organization.

### ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaData

- `id` (string, required) — Unique identifier of the clearance request
- `status` (enum, required) — Current state of the clearance request
  - Allowed values: `CANCELLED`, `COMPLETED`, `DECIDED`, `PENDING_DECISION`, `PENDING_QUOTE`, `PENDING_RETURN`
- `public_id` (string, required) — Public identifier of the clearance request
- `created_at` (string, required) — Creation timestamp of the clearance request
- `expires_at` (string, required, nullable) — Timestamp indicating when the request expires and the manager can no longer take action, absent when no deadline applies
- `request_items` (list of ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaDataRequestItemsItems, required) — Items included in this clearance request, one per asset being cleared
- `cancelled_reason` (enum, required, nullable) — Reason the clearance request was cancelled, absent unless the status is CANCELLED
  - Allowed values: `DEADLINE_EXCEEDED`, `REQUESTED_BY_CUSTOMER`

### ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaErrorsItems

- `code` (string, required) — Error code of the handler which produced the returned error
- `field` (string, required, nullable) — The field name where input validation failed
- `message` (string, required) — Description of the returned error

### ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaDataRequestItemsItems

- `id` (string, required) — Unique identifier of the clearance request item
- `asset` (ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaDataRequestItemsItemsAsset, required) — Asset being cleared as part of this clearance request item
- `status` (enum, required) — Current state of the item within the clearance request lifecycle
  - Allowed values: `CANCELLED`, `CUSTOMER_ACCEPTED_QUOTE`, `CUSTOMER_REJECTED_QUOTE`, `PENDING_CUSTOMER_DECISION`, `PENDING_QUOTE`, `SKIPPED_QUOTE`
- `quote_price` (ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaDataRequestItemsItemsQuotePrice, required, nullable) — Quote price offered by the clearance partner for the asset, absent until a quote is received

### ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaDataRequestItemsItemsAsset

Asset being cleared as part of this clearance request item

- `id` (string, required) — Unique identifier of the asset
- `product` (ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaDataRequestItemsItemsAssetProduct, required) — Product details of the asset
- `public_id` (string, required) — Public identifier of the asset
- `serial_number` (string, required, nullable) — Asset serial number, absent when the manufacturer did not assign one

### ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaDataRequestItemsItemsQuotePrice

Quote price offered by the clearance partner for the asset, absent until a quote is received

- `amount` (string, required) — Amount
- `currency` (enum, required) — Three-letter currency code for the price
  - Allowed values: `AED`, `AFN`, `ALL`, `AMD`, `ANG`, `AOA`, `ARS`, `AUD`, `AWG`, `AZN`, `BAM`, `BDT`, `BGN`, `BHD`, `BIF`, `BMD`, `BOB`, `BRL`, `BSD`, `BTN`, `BWP`, `BYN`, `BZD`, `CAD`, `CDF`, `CHF`, `CLP`, `CNY`, `COP`, `CRC`, `CUC`, `CVE`, `CZK`, `DJF`, `DKK`, `DOP`, `DZD`, `EGP`, `ERN`, `ETB`, `EUR`, `FJD`, `FKP`, `GBP`, `GEL`, `GHS`, `GIP`, `GMD`, `GNF`, `GTQ`, `GYD`, `HKD`, `HNL`, `HRK`, `HTG`, `HUF`, `IDR`, `ILS`, `INR`, `IQD`, `IRR`, `ISK`, `JMD`, `JOD`, `JPY`, `KES`, `KGS`, `KHR`, `KMF`, `KPW`, `KRW`, `KWD`, `KYD`, `KZT`, `LAK`, `LBP`, `LKR`, `LRD`, `LSL`, `LTL`, `LYD`, `MAD`, `MDL`, `MGA`, `MKD`, `MMK`, `MNT`, `MRU`, `MUR`, `MVR`, `MWK`, `MXN`, `MYR`, `MZN`, `NAD`, `NGN`, `NIO`, `NOK`, `NPR`, `NZD`, `OMR`, `PAB`, `PEN`, `PGK`, `PHP`, `PKR`, `PLN`, `PYG`, `QAR`, `RON`, `RSD`, `RUB`, `RWF`, `SAR`, `SBD`, `SCR`, `SDG`, `SEK`, `SGD`, `SHP`, `SLL`, `SOS`, `SRD`, `SSP`, `STD`, `SYP`, `SZL`, `THB`, `TJS`, `TMT`, `TND`, `TOP`, `TRY`, `TTD`, `TWD`, `TZS`, `UAH`, `UGX`, `USD`, `UYU`, `UZS`, `VEF`, `VND`, `VUV`, `WST`, `XAF`, `XCD`, `XOF`, `XPF`, `YER`, `ZAR`, `ZMW`, `ZWD`

### ItAssetsAssetIdClearPostResponsesContentApplicationJsonSchemaDataRequestItemsItemsAssetProduct

Product details of the asset

- `id` (string, required) — Unique identifier of the product
- `name` (string, required) — Product name
- `brand` (string, required) — Product brand
- `category` (enum, required) — Product category
  - Allowed values: `ADAPTER`, `CABLE`, `CHAIR`, `CHARGER`, `COMPACT_DESKTOP`, `DESK`, `DESKTOP`, `DESK_RISER`, `DESK_TIDY`, `DOCKING_STATION`, `DONGLE`, `FOOTREST`, `HEADSET`, `KEYBOARD`, `LAPTOP`, `LAPTOP_STAND`, `MICE_TRACKPAD`, `MOBILE_DEVICE`, `MONITOR`, `MONITOR_ARM`, `OTHER`, `PRINTER`, `SHREDDER`, `STANDING_MAT`, `TABLET`, `TASK_LIGHT`, `WEBCAM`, `WELCOME_PACK`, `WIFI_RANGE_EXTENDER`

## Examples

**Request**

```json
{
  "data": {
    "manager_hris_profile_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}
```

**Response**

```json
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "PENDING_QUOTE",
    "public_id": "CLR-550E8400",
    "created_at": "2025-08-08T09:49:01.000Z",
    "expires_at": "2025-08-22T09:49:01.000Z",
    "request_items": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "asset": {
          "id": "550e8400-e29b-41d4-a716-446655440000",
          "product": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "name": "MacBook Pro",
            "brand": "Apple",
            "category": "LAPTOP"
          },
          "public_id": "ITM-550E8400",
          "serial_number": "SN123456"
        },
        "status": "PENDING_QUOTE",
        "quote_price": {
          "amount": "1999.99",
          "currency": "EUR"
        }
      }
    ],
    "cancelled_reason": "REQUESTED_BY_CUSTOMER"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.letsdeel.com/rest/it/assets/123e4567-e89b-12d3-a456-426614174000/clear"

payload = { "data": { "manager_hris_profile_id": "550e8400-e29b-41d4-a716-446655440000" } }
headers = {
    "X-Beta": "true",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript
const url = 'https://api.letsdeel.com/rest/it/assets/123e4567-e89b-12d3-a456-426614174000/clear';
const options = {
  method: 'POST',
  headers: {
    'X-Beta': 'true',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{"data":{"manager_hris_profile_id":"550e8400-e29b-41d4-a716-446655440000"}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.letsdeel.com/rest/it/assets/123e4567-e89b-12d3-a456-426614174000/clear"

	payload := strings.NewReader("{\n  \"data\": {\n    \"manager_hris_profile_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-Beta", "true")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.letsdeel.com/rest/it/assets/123e4567-e89b-12d3-a456-426614174000/clear")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-Beta"] = 'true'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"data\": {\n    \"manager_hris_profile_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.letsdeel.com/rest/it/assets/123e4567-e89b-12d3-a456-426614174000/clear")
  .header("X-Beta", "true")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"data\": {\n    \"manager_hris_profile_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n  }\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.letsdeel.com/rest/it/assets/123e4567-e89b-12d3-a456-426614174000/clear', [
  'body' => '{
  "data": {
    "manager_hris_profile_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
    'X-Beta' => 'true',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.letsdeel.com/rest/it/assets/123e4567-e89b-12d3-a456-426614174000/clear");
var request = new RestRequest(Method.POST);
request.AddHeader("X-Beta", "true");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"data\": {\n    \"manager_hris_profile_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-Beta": "true",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["data": ["manager_hris_profile_id": "550e8400-e29b-41d4-a716-446655440000"]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.letsdeel.com/rest/it/assets/123e4567-e89b-12d3-a456-426614174000/clear")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```