Remove an entity attachment from a rule. This performs a soft delete, preserving the audit trail. ## Path parameters **`rule_id`** string required The rule ID **`entity_type`** string required Entity type: `assistant`, `user`, `model`, `vector_store`, `organization` **`entity_id`** string required The entity ID ## Returns Returns 204 No Content on success. ```bash curl -X DELETE "https://api.aitronos.com/v1/rules/rule_a1b2c3d4/attachments/assistant/asst_abc123" \ -H "X-API-Key: $FREDDY_API_KEY" ``` ```python import os import requests api_key = os.environ["FREDDY_API_KEY"] response = requests.delete( "https://api.aitronos.com/v1/rules/rule_a1b2c3d4/attachments/assistant/asst_abc123", headers={"X-API-Key": api_key} ) print(f"Status: {response.status_code}") # 204 No Content ``` ```javascript const apiKey = process.env.FREDDY_API_KEY; const response = await fetch( 'https://api.aitronos.com/v1/rules/rule_a1b2c3d4/attachments/assistant/asst_abc123', { method: 'DELETE', headers: { 'X-API-Key': apiKey } } ); console.log(`Status: ${response.status}`); // 204 ``` **Response** `204 No Content`