curl -X DELETE "https://api.scanova.io/tag/attached/?added_by=teammate@example.com&tag=vip" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
Dossiers et tags
Détacher un tag d'un utilisateur partagé
DELETE /tag/attached/
DELETE
/
tag
/
attached
/
curl -X DELETE "https://api.scanova.io/tag/attached/?added_by=teammate@example.com&tag=vip" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
Supprime l’attribution d’un utilisateur partagé pour un tag, sur l’hôte de l’API de gestion (
Un appel réussi renvoie
api.scanova.io), authentifié avec votre clé brute d’API de gestion.
DELETE https://api.scanova.io/tag/attached/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
string
requis
L’adresse e-mail de l’utilisateur partagé. Doit appartenir à un utilisateur partagé existant sur ce compte.
string
requis
Le nom du tag à détacher. Requis pour
DELETE (facultatif sur le GET correspondant).curl -X DELETE "https://api.scanova.io/tag/attached/?added_by=teammate@example.com&tag=vip" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
204 No Content.
Ce que fait réellement cet appel
Cela ne supprime pas le tag, et cela ne retire pas le tag d’un QR code. Cela efface uniquement l’attribution — quel utilisateur partagé est crédité d’avoir ajouté ce tag — sur chaque ligneTagRelation correspondante. Les QR codes conservent le tag ; il n’apparaît simplement plus comme « ajouté par » ce coéquipier.
400 si added_by n’est pas un utilisateur partagé de ce compte, ou s’il n’existe aucune ligne de relation de tag correspondante à effacer ({"error": ["Tag does not exist."]}).
Voir aussi
- Lister les tags rattachés par un utilisateur partagé — trouver quoi détacher.
- Gestion des utilisateurs partagés — trouver les adresses e-mail pour
added_by. - Présentation de l’API de gestion — le schéma d’authentification et les règles de quota applicables à cet endpoint.
Autorisations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Réponse
Tag detached.
Cette page vous a-t-elle été utile ?