Skip to main content
DELETE
/
fixed-assets
/
{fixed_asset_id}
Delete Fixed Asset
curl --request DELETE \
  --url https://api.clemta.com/fixed-assets/{fixed_asset_id} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "message": "Fixed asset deleted successfully",
  "data": {}
}

Delete Fixed Asset

This endpoint allows you to delete a fixed asset from the system.

Headers

ParameterTypeDescription
X-API-KEYstringFormation API Key (required)

Path Parameters

ParameterTypeRequiredDescription
fixed_asset_idstringYesUnique ID of the fixed asset

Parameter Examples

  • Delete specific asset: DELETE /fixed-assets/64b8f1a2e4b0c8d9f0123456

Response

{
  "success": true,
  "message": "Fixed asset deleted successfully",
  "data": null
}

Response Parameters

ParameterTypeDescription
successbooleanIndicates if the operation was successful
messagestringAdditional information about the operation
datanullNo data returned for delete operation

Error Responses

Invalid Request (400)

{
  "success": false,
  "message": "Invalid request",
  "error": {
    "code": "INVALID_REQUEST",
    "details": "Invalid fixed asset ID format"
  }
}

Unauthorized (401)

{
  "success": false,
  "message": "API key is required",
  "error": {
    "code": "API_KEY_REQUIRED"
  }
}

Fixed Asset Not Found (404)

{
  "success": false,
  "message": "Fixed asset not found",
  "error": {
    "code": "NOT_FOUND"
  }
}

Internal Server Error (500)

{
  "success": false,
  "message": "Internal server error",
  "error": {
    "code": "INTERNAL_ERROR"
  }
}

Important Notes

  • Deleting a fixed asset is a permanent action and cannot be undone
  • Ensure you have proper authorization before deleting assets
  • Consider the impact on financial records and depreciation schedules before deletion
  • You may want to archive or mark assets as inactive instead of deleting them for audit trail purposes

Authorizations

X-API-Key
string
header
required

Formation API key for authentication.

Path Parameters

fixed_asset_id
string
required

Fixed Asset ID

Response

Fixed asset deleted successfully

success
boolean
Example:

true

message
string
Example:

"Fixed asset deleted successfully"

data
object

No data returned for delete operation

Build docs developers (and LLMs) love