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 theX-API-KEY header:
Example Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| assetId | number | Yes | ID of the asset to remove |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| assetId | number | Yes | ID of the asset to remove (must match path parameter) |
Response
Success Response
Response Fields
| Field | Type | Description |
|---|---|---|
| success | boolean | Always true for successful removals |
| id | number | ID of the asset removed from organization |
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