API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

DELETE /v1/user-favorites/{entityType}/{entityId}

DELETE/v1/user-favorites/{entityType}/{entityId}

Remove an entity from the current user favorites

Paramètres de chemin

NomTypeDescription
entityTypeobligatoirestring
entityIdobligatoirestring

Exemple

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();

Codes de réponse

HTTP Signification
200 Default Response

Recherche