---
title: "Delete a registered RCS card (Tier 3"
description: "Removes the card from rcs_content_templates (so it leaves the picker). The underlying Twilio Content Template is left in the account by default. Authenticated workspace user (Bearer).\n"
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › RCS

`DELETE /api/rcs/workspaces/{workspaceId}/templates/{templateId}`

Removes the card from rcs_content_templates (so it leaves the picker). The underlying Twilio Content Template is left in the account by default. Authenticated workspace user (Bearer).

## Authentication

- `BearerAuth`, http, header `Authorization`, format `JWT`

## Path parameters

- `workspaceId` (`delete/api/rcs/workspaces/workspaceId/templates/templateId.path.workspaceId`; string, required)
- `templateId` (`delete/api/rcs/workspaces/workspaceId/templates/templateId.path.templateId`; string, required)

## Code samples

### cURL

```bash
curl --request DELETE \
  --url 'https://api.channelautomation.com/api/rcs/workspaces/<workspaceId>/templates/<templateId>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/rcs/workspaces/<workspaceId>/templates/<templateId>';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/rcs/workspaces/<workspaceId>/templates/<templateId>"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
```

## Responses

### 200

Deleted.

### 400

Card not found or delete failed.

### 401

Authentication required

#### Example

```json
{
  "error": "Authentication required",
  "success": false
}
```

- `error` (`delete/api/rcs/workspaces/workspaceId/templates/templateId.response.401.error`; string, optional)
  - example `"Authentication required"`
- `success` (`delete/api/rcs/workspaces/workspaceId/templates/templateId.response.401.success`; boolean, optional)
  - example `false`

### 403

Membership in the path workspace is required.

### 503

Identity or workspace access verification is temporarily unavailable.


Source: https://developer.channelautomations.com/api/delete-api-rcs-workspaces-workspace-id-templates-template-id/index.md
