DELETE /v1/user-favorites/{entityType}/{entityId}
DELETE/v1/user-favorites/{entityType}/{entityId}
Remove an entity from the current user favorites
Path parameters
| Name | Type | Description |
|---|
entityTyperequired | string | |
entityIdrequired | string | |
Example
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();
Response codes
| HTTP |
Meaning |
200 |
Default Response |