---
title: "Update an App's OAuth Settings"
method: PUT
path: "/smartapps/{appNameOrId}/oauth"
tags: ["SmartApps"]
---

# Update an App's OAuth Settings

`PUT /smartapps/{appNameOrId}/oauth`

## Request

- Base URL: `https://api.smartthings.com/v1`
- URL: `https://api.smartthings.com/v1/smartapps/{appNameOrId}/oauth`
- Auth: OAuth 2
  - Implicit: `https://auth-global.api.smartthings.com`
  - Scopes: `w:smartapps`
- TypeScript: <https://skmtc.dev/smartthings/apis/smartthings-api/docs/smartapps/:appNameOrId/oauth/put.ts> (a function with typed inputs; its response is checked against the schema)

Update an app's oauth settings.

## Path parameters

- `appNameOrId` string, required

## Headers

- `Authorization` string, string, required

## Request body

- UpdateAppOAuthRequest
  - `clientName` string, required: A name given to the OAuth Client.
  - `scope` string[], required: A list of SmartThings API OAuth scope identifiers that may be required to execute your integration.
  - `redirectUris` string[], required: A list of redirect URIs for API_ONLY apps.
  - `corsDomains` string[]: A list of CORS domains.

## Response `200`

An app's oauth settings model.

- AppOAuth
  - `clientName` string: A name given to the OAuth Client.
  - `scope` string[]: A list of SmartThings API OAuth scope identifiers that may be required to execute your integration.
  - `redirectUris` string[]: A list of redirect URIs for API_ONLY apps.
  - `corsDomains` string[]: A list of CORS domains.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `422`: Unprocessable Entity
- `429`: Too many requests
- `default`: Unexpected error

## Changes

- **2026-11-07** `2788a4236800`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/smartthings/apis/smartthings-api/changes/smartapps/:appNameOrId/oauth/put.md)

---

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