Set one or more templates as account favorites
Set one or more templates as account favorites.
Your request should include each template as a separate favoriteTemplatesContentItem JSON object, like this:
{ "favoriteTemplates": [ { "templateId": "6bc0584f-xxxx-xxxx-xxxx-35ab28cc44e1" }, { "templateId": "8ae9b3452-xxxx-xxxx-xxx-ac0de23fa57f" } ]}Authorization
OAuth2 OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.
In: header
Path Parameters
The external account number (int) or account ID GUID.
Request Body
application/json
This object describes errors that occur. It is only valid for responses and ignored in requests.
The favorite templates acted upon by the call.
The number of templates successfully updated by the call. This property is read-only.
int32Response Body
application/json
application/json
curl -X PUT "https://example.com/v2.1/accounts/string/favorite_templates" \ -H "Content-Type: application/json" \ -d '{}'{ "errorDetails": { "errorCode": "string", "message": "string" }, "favoriteTemplates": [ { "errorDetails": { "errorCode": "string", "message": "string" }, "favoritedDate": "string", "templateId": "string" } ], "templatesUpdatedCount": 0}Remove one or more templates from the account favorites DELETE
Remove one or more templates from the account favorites. Your request should include each template to remove as a separate `favoriteTemplatesContentItem` JSON object, like this: ``` { "favoriteTemplates": [ { "templateId": "6bc0584f-xxxx-xxxx-xxxx-35ab28cc44e1" }, { "templateId": "8ae9b3452-xxxx-xxxx-xxx-ac0de23fa57f" } ] } ``` The response includes the IDs of the templates that were successfully removed from your favorites. To get the account's remaining favorite templates, use the [getFavoriteTemplates](https://developers.docusign.com/docs/esign-rest-api/reference/accounts/favoritetemplates/getfavoritetemplates/) endpoint.
Gets settings for a notary user GET
Gets settings for a notary user. The current user must be a notary.