# update-template

**POST** `/api/v1/update-template`

Product: [RCS](https://devdocs.pinnacle.in/docs/rcs.md)  
Version: [1.0](https://devdocs.pinnacle.in/docs/rcs/1-0.md)

## Request

URL: `https://api.example.com/rcs/api/v1/update-template`

Authentication location: `none`

Authentication name: `none`

### Request schema


```json
{
  "type": "object",
  "properties": {
    "botId": {
      "type": "string"
    },
    "templateId": {
      "type": "string"
    }
  }
}
```

### Request example


```json
{
  "botId": "65c4eabecf32f14a18535f10",
  "templateId": "68fb548d60542703df6dd702"
}
```

## Response schema


```json
{}
```

## Response examples


```json
{
  "401": {
    "code": 401,
    "status": "ERROR",
    "message": "Authentication Failed (Invalid apikey)"
  }
}
```

## Status codes


```json
[
  {
    "code": 401,
    "description": "Unauthorized"
  }
]
```
