DELETE /v1/user-favorites/{entityType}/{entityId}
DELETE/v1/user-favorites/{entityType}/{entityId}
Remove an entity from the current user favorites
Parámetros de ruta
| Nombre | Tipo | Descripción |
|---|
entityTypeobligatorio | string | |
entityIdobligatorio | string | |
Ejemplo
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();
Códigos de respuesta
| HTTP |
Significado |
200 |
Default Response |