cleanup
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
---
|
||||
type: step
|
||||
category: api
|
||||
name: Advoware Proxy DELETE
|
||||
version: 1.0.0
|
||||
status: active
|
||||
tags: [advoware, proxy, api, rest, delete]
|
||||
dependencies:
|
||||
- services/advoware.py
|
||||
emits: []
|
||||
---
|
||||
|
||||
# Advoware Proxy DELETE Step
|
||||
|
||||
## Zweck
|
||||
Universeller REST-API-Proxy für DELETE-Requests an die Advoware API zum Löschen von Ressourcen.
|
||||
|
||||
## Input
|
||||
```bash
|
||||
DELETE /advoware/proxy?endpoint=appointments/12345
|
||||
```
|
||||
|
||||
## Output
|
||||
```json
|
||||
{
|
||||
"status": 200,
|
||||
"body": {
|
||||
"result": null
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Key Differences
|
||||
- **Method**: DELETE
|
||||
- **Body**: Kein Body (`json_data = None`)
|
||||
- **Endpoint**: Mit ID der zu löschenden Ressource
|
||||
- **Side-Effect**: Löscht Ressource (nicht wiederherstellbar!)
|
||||
- **Response**: Oft `null` oder leeres Objekt
|
||||
|
||||
## Testing
|
||||
```bash
|
||||
curl -X DELETE "http://localhost:3000/advoware/proxy?endpoint=appointments/12345"
|
||||
```
|
||||
|
||||
## Warning
|
||||
⚠️ **ACHTUNG**: DELETE ist irreversibel! Keine Undo-Funktion.
|
||||
|
||||
Siehe [advoware_api_proxy_get_step.md](advoware_api_proxy_get_step.md) für vollständige Details.
|
||||
Reference in New Issue
Block a user