v1

latestSwagger 2.02026-07-134146194.6 MB
FavoriteTemplates

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.

delete/v2.1/accounts/{accountId}/favorite_templates

Path parameters

accountIdstring required

The external account number (int) or account ID GUID.

Request body

templatesUpdatedCountinteger

The number of templates successfully updated by the call. This property is read-only.

Response

Successful response.