# Delete a attachment by ID Deletes a attachment by its unique identifier. Endpoint: DELETE /v1/api/attachment/{id} Version: 1.2.4 Security: X-Api-Key ## Path parameters: - `id` (string, required) Attachment ID ## Response 200 fields (application/json): - `statusCode` (number, required) HTTP status code Example: 200 - `message` (string, required) Message describing the result of the operation Example: "Resource with Id 123 deleted successfully" ## Response 400 fields (application/json): - `statusCode` (number, required) HTTP status code Example: 400 - `message` (string, required) Error message describing what went wrong Example: "Validation failed: Field `schemaField` is required." - `error` (string, required) Error type/name Enum: "Bad Request", "Unauthorized", "Forbidden", "Not Found", "Conflict", "Unprocessable Entity", "Internal Server Error" ## Response 404 fields (application/json): - `statusCode` (number, required) HTTP status code Example: 404 - `message` (string, required) Error message describing what went wrong Example: "The resource was not found." - `error` (string, required) Error type/name Enum: "Bad Request", "Unauthorized", "Forbidden", "Not Found", "Conflict", "Unprocessable Entity", "Internal Server Error"