Отвязать дочерний шаблон
POST
/api/v1/smartdoc/documents/{id}/unlinkAuthorizationBearer <токен>
Access token, привязанный к ключу клиента по RFC 9449: заголовок Authorization: DPoP <token> и заголовок DPoP с доказательством для каждого запроса. Сервер выдаёт DPoP-Nonce, который клиент включает в доказательство.
Передаётся в: header
Параметры пути
id*string
Идентификатор шаблона
Формат
uuidТело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/v1/smartdoc/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/unlink" \ -H "Authorization: Bearer <access_token>" \ -H "Content-Type: application/json" \ -d '{ "childDocId": "string" }'{ "blocks": [ { "depth": 0, "id": "string", "label": "string", "order": 0, "template": "string", "type": "string", "variables": {} } ], "createdAt": "string", "folderId": "string", "id": "string", "status": "string", "title": "string", "updatedAt": "string", "userId": "string"}