Skip to main content
DELETE
Remove asset from organization

Overview

Remove an asset from your organization’s allowlist. This operation removes the association between the asset and your organization - the asset itself remains in the ChainPatrol system but is no longer tied to your organization. The asset must belong to your organization to be removed.

Quick Start

Authentication

Include your API key in the X-API-KEY header:

Example Request

Path Parameters

Request Body

Response

Success Response

Response Fields

Error Responses

400 Bad Request

Returned when the request is malformed:

401 Unauthorized

Returned when the API key is missing, invalid, or doesn’t have organization access:

403 Forbidden

Returned when the asset doesn’t belong to your organization:

404 Not Found

Returned when the asset doesn’t exist or was already removed from your organization:

Best Practices

Verification Before Removal

Always verify the asset before removal to prevent accidental operations:

Bulk Removal

When removing multiple assets from your organization, process them sequentially with error handling:

Audit Logging

Implement logging for removal operations for compliance and debugging:

Use Cases

Remove Outdated Assets

Remove Assets by Group

Interactive Removal with Confirmation

Notes

  • This operation removes the association between the asset and your organization - the asset itself remains in the ChainPatrol system
  • The asset will no longer appear in your organization’s asset lists after removal
  • Only assets belonging to your organization can be removed
  • Organization is automatically determined from your API key
  • Asset ID must match in both the URL path and request body
  • You can re-add the same asset to your organization later if needed using the Add Assets endpoint
  • Removing an asset does not affect its existence in the ChainPatrol database or its status for other organizations

Authorizations

X-API-KEY
string
header
required

Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.

Path Parameters

assetId
integer
required

ID of the asset to remove

Required range: x > 0

Response

Successful response

success
boolean
required
id
number
required