Last updated on
Apr 27, 2021
Issue
In latest version V6 of REST API, the method DELETE /agreements/ID is not available.
Environment
REST API V6
Resolution
DELETE /agreements/ID used to allow to hide an agreement from the manage page.
Adobe has a new API PUT /agreements/ID/me/visibility to control the visibility of an agreement(in GET /agreements). In addition to the functionality provided by the DELETE /agreements/ID, the new visibility endpoint also allows a user to revert the ‘hide’ operation, that is, make the agreement visible again.
You can also follow the detailed steps as below:
- Go to method get /agreements and retrieve the agreement ID.
- Click put /agreements/{agreementId}/me/visibility and provide the below request as sample:
{
"visibility": "HIDE"
}
The agreement ID is hidden only from get /libraryDocuments, however, it is still visible under the Manage tab UI.
Additional information
https://secure.na1.echosign.com/public/docs/restapi/v6#!/agreements/updateAgreementVisibility