DELETE /v1/user-favorites/{entityType}/{entityId}
DELETE/v1/user-favorites/{entityType}/{entityId}
Remove an entity from the current user favorites
Pfad-Parameter
| Name | Typ | Beschreibung |
|---|
entityTypeerforderlich | string | |
entityIderforderlich | string | |
Beispiel
curl -X DELETE https://api.codemeta-os.de/v1/user-favorites/{entityType}/{entityId} \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txt
const result = await cm.user-favorites.delete();
Antwortcodes
| HTTP |
Bedeutung |
200 |
Default Response |