---
title: "Update App"
method: PATCH
path: "/idp/apps/{app_id}"
tags: ["Identity Provider"]
---

# Update App

`PATCH /idp/apps/{app_id}`

Update an OAuth application.

## Path parameters

- `app_id` string, required

## Headers

- `X-Chutes-Hotkey` string, nullable
- `X-Chutes-Signature` string, nullable
- `X-Chutes-Nonce` string, nullable
- `Authorization` string, nullable

## Request body

- OAuthAppUpdateRequest — Request model for updating an OAuth application.
  - `name` string, nullable
  - `description` string, nullable
  - `redirect_uris` string[], nullable
  - `homepage_url` string, nullable
  - `logo_url` string, nullable
  - `active` boolean, nullable
  - `public` boolean, nullable
  - `refresh_token_lifetime_days` integer, nullable
  - `allowed_scopes` string[], nullable

## Response `200`

Successful Response

- OAuthAppResponse — Response model for an OAuth application (public info).
  - `app_id` string, required
  - `client_id` string, required
  - `user_id` string, required
  - `name` string, required
  - `description` string, nullable
  - `redirect_uris` string[], required
  - `homepage_url` string, nullable
  - `logo_url` string, nullable
  - `active` boolean, required
  - `public` boolean, required
  - `refresh_token_lifetime_days` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/chutes/apis/fastapi.md) · [All operations](https://skmtc.net/chutes/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chutes/fastapi/versions/352418d4e3a2/schema)
