itAssets

Archive an IT asset

Changed on

Archives an IT asset that has left active use, so an external inventory or MDM/CMDB tool can keep Deel IT in sync. Archiving also removes the asset's host record, if any, and ends any contract add-ons it carries. To restore an archived asset, use POST /rest/it/assets/{asset_id}/unarchive; it brings back the asset's active status and location, but not the host or the add-ons.

Token scopes: it-assets: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.

post/it/assets/{asset_id}/archive

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

asset_id, string uuid required

Unique identifier of the IT asset

Headers

X-Beta, 'true' required

Opts in to the beta version of this endpoint. Must be true.

Request body

object required
data, ItAssetsAssetIdArchivePostRequestBodyContentApplicationJsonSchemaData required

Response

OK

ITAssetsPostItAssetsByAssetIdArchiveV20260917Response200 required
data, ItAssetsAssetIdArchivePostResponsesContentApplicationJsonSchemaData required

Changes

    • info

      api operation id itAssets_archiveAsset-v2026-09-17 removed and replaced with itAssets_postItAssetsByAssetIdArchive-v2026-09-17

    • info

      added the required property data/collection_survey to the response with the status