---
title: "Remove one or more templates from the account favorites."
method: DELETE
path: "/v2.1/accounts/{accountId}/favorite_templates"
tags: ["FavoriteTemplates"]
---

# Remove one or more templates from the account favorites.

`DELETE /v2.1/accounts/{accountId}/favorite_templates`

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](/docs/esign-rest-api/reference/accounts/favoritetemplates/getfavoritetemplates/) endpoint.

## Path parameters

- `accountId` string, required

## Request body

- FavoriteTemplatesInfo
  - `errorDetails` ErrorDetails — This object describes errors that occur. It is only valid for responses and ignored in requests.
    - `errorCode` string — The code associated with the error condition.
    - `message` string — A brief message describing the error condition.
  - `favoriteTemplates` FavoriteTemplatesContentItem[] — The favorite templates acted upon by the call.
    - `errorDetails` ErrorDetails — This object describes errors that occur. It is only valid for responses and ignored in requests.
      - `errorCode` string — The code associated with the error condition.
      - `message` string — A brief message describing the error condition.
    - `favoritedDate` string — Time at which the template was marked as favorite.
    - `templateId` string — The ID of the template.
  - `templatesUpdatedCount` integer — The number of templates successfully updated by the call. This property is read-only.

## Response `200`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/revisions/77f1998c313d/schema)
