POST /v1/dms/documents/{id}/unlink
POST/v1/dms/documents/{id}/unlink
Unlink a DMS document from an entity
Cuerpo de la solicitud
| Nombre | Tipo | Descripción |
|---|
entityTypeobligatorio | string | |
entityIdobligatorio | string<uuid> | |
Parámetros de ruta
| Nombre | Tipo | Descripción |
|---|
idobligatorio | string<uuid> | |
Ejemplo
curl -X POST https://api.codemeta-os.de/v1/dms/documents/{id}/unlink \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"entityType": "string",
"entityId": "0193f4a2-…"
}'
const result = await cm.dms.post({
"entityType": "string",
"entityId": "0193f4a2-…"
});
Códigos de respuesta
| HTTP |
Significado |
200 |
Default Response |