Remove one or more templates from the account favorites
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 endpoint.
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.
Response Body
application/json
application/json
curl -X DELETE "https://example.com/v2.1/accounts/string/favorite_templates"{ "errorDetails": { "errorCode": "string", "message": "string" }, "favoriteTemplates": [ { "errorDetails": { "errorCode": "string", "message": "string" }, "favoritedDate": "string", "templateId": "string" } ], "templatesUpdatedCount": 0}Retrieves the list of favorite templates for the account GET
Retrieves the list of favorite templates for the account.
Set one or more templates as account favorites PUT
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" } ] } ```