---
title: "Update SMS Template"
method: PUT
path: "/api/v1/templates/sms/{templateId}"
tags: ["Template"]
---

# Update SMS Template

`PUT /api/v1/templates/sms/{templateId}`

## Request

- Base URL: `https://your-subdomain.okta.com`
- URL: `https://your-subdomain.okta.com/api/v1/templates/sms/{templateId}`
- Auth: API key in header `Authorization`

Updates the SMS template.

## Path parameters

- `templateId` string, required

## Request body

- SmsTemplate
  - `created` string, date-time
  - `id` string
  - `lastUpdated` string, date-time
  - `name` string
  - `template` string
  - `translations` SmsTemplateTranslations
  - `type` 'SMS_VERIFY_CODE'

## Response `200`

Success

- SmsTemplate
  - `created` string, date-time
  - `id` string
  - `lastUpdated` string, date-time
  - `name` string
  - `template` string
  - `translations` SmsTemplateTranslations
  - `type` 'SMS_VERIFY_CODE'

---

[API](https://skmtc.dev/okta/apis/okta-api.md) - [All operations](https://skmtc.dev/okta/apis/okta-api/llms.txt) - [OpenAPI document](https://skmtc.dev/okta/apis/okta-api/revisions/7e5249c30571?raw)
