---
title: "Updates an existing OAuth app for the given OauthAppSid"
method: PUT
path: "/v1/Account/OAuthApps/{sid}"
tags: ["Oauth2"]
---

# Updates an existing OAuth app for the given OauthAppSid

`PUT /v1/Account/OAuthApps/{sid}`

## Path parameters

- `sid` string, required

## Request body

- IamV1AccountVendorOauthAppUpdateRequest
  - `type` string, nullable
  - `friendly_name` string, nullable
  - `description` string, nullable
  - `policy` object, nullable
    - `allow` string[] — Set of permissions explicitly allowed
    - `deny` string[] — Set of permissions explicitly denied
  - `access_token_ttl` integer, nullable

## Response `200`

Returns updated vendor oauthApp

- IamV1AccountVendorOauthAppCreateUpdateResponse
  - `type` string
  - `sid` string
  - `friendly_name` string
  - `description` string
  - `date_created` string, date-time
  - `created_by` string
  - `secret` string
  - `status` string
  - `policy` object
    - `allow` string[] — Set of permissions explicitly allowed
    - `deny` string[] — Set of permissions explicitly denied
  - `access_token_ttl` integer

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/twilio/apis/iam-v1.md) · [All operations](https://skmtc.net/twilio/apis/iam-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twilio/iam-v1/revisions/fea70127b4d0/schema)
