我认为您缺少帐户 ID 和其他内容。这是演示的正确 URL:
https://demo.docusign.net/restapi/v2/accounts/42393/envelopes/75210c12-427f-42e3-a6f0-01009f6bf951/recipients/1/tabs
这是 curl 对我有用的方法。
curl --request DELETE 'https://demo.docusign.net/restapi/v2/accounts/42393/envelopes/75210c12-427f-42e3-a6f0-01009f6bf951/recipients/1/tabs' --header 'Content-Type:application/json' --header 'Accept:application/json' --header 'X-DocuSign-Authentication: <DocuSignCredentials><Username>....</Username><Password>.....</Password><IntegratorKey>...</IntegratorKey></DocuSignCredentials>' -d @delete-tabs.txt
删除-tabs.txt 是:
{
"signHereTabs":[{
"tabId":"4039cf12-9b88-4232-ac85-d1f1c2d22fc6"
}]
}
之前的信封标签:
{
"signHereTabs": [
{
"name": "Sign Here",
"tabLabel": "Signature 329",
"scaleValue": 1,
"optional": "false",
"documentId": "1",
"recipientId": "1",
"pageNumber": "4",
"xPosition": "77",
"yPosition": "614",
"tabId": "4039cf12-9b88-4232-ac85-d1f1c2d22fc6"
}
],
"fullNameTabs": [
{
"name": "Full Name",
"tabLabel": "Full Name",
"documentId": "1",
"recipientId": "1",
"pageNumber": "2",
"xPosition": "182",
"yPosition": "729",
"tabId": "9db5fdf5-d669-4b93-8c79-d8e196a3f76c"
},
{
"name": "Full Name",
"tabLabel": "Full Name",
"documentId": "1",
"recipientId": "1",
"pageNumber": "4",
"xPosition": "180",
"yPosition": "727",
"tabId": "d477c65c-ccba-46ab-b826-29688cff1a0b"
}
]
}
后:
{
"fullNameTabs": [
{
"name": "Full Name",
"tabLabel": "Full Name",
"documentId": "1",
"recipientId": "1",
"pageNumber": "2",
"xPosition": "182",
"yPosition": "729",
"tabId": "9db5fdf5-d669-4b93-8c79-d8e196a3f76c"
},
{
"name": "Full Name",
"tabLabel": "Full Name",
"documentId": "1",
"recipientId": "1",
"pageNumber": "4",
"xPosition": "180",
"yPosition": "727",
"tabId": "d477c65c-ccba-46ab-b826-29688cff1a0b"
}
],