Copy link to clipboard
Copied
Hi All,
Wondering if you can provide some information. I'm having trouble trying to DELETE /agreements/{id} from an independent REST request and from the developer API portal (try it out).
From the REST request: I'm getting a 403 - "code":"PERMISSION_DENIED","message":"The API caller do not have the permission to execute this operation".
I'm getting that whether or not I'm requesting the agreement_retention:account scope.
From the developer portal: I generated a token using the interface, which pushes the retention scope visibility and I get the following error, "code": "DYNAMIC_DOCUMENT_EXPIRATION_NOT_ENABLED", "message": "The operation requires some account settings to be enabled. Please contact the Adobe Sign team to enable the settings."
Is there something that I'm missing?
Thanks,
Tyler
Copy link to clipboard
Copied
Hi Tyler,
Apparently you do have to have your account enabled for dynamic deletion of agreements. Mine was just enabled for that, but I am still getting a 403 Forbidden error when I try it through my web request. I am able to do it successfully through the API tool though. I'm using the same integration key I use to create and retrieve the agreement, so I'm puzzled about what I'm missing in my web request.