---
title: "Update App Status"
method: PATCH
path: "/api/oauth/apps/{app_id}/status"
tags: ["oauth"]
---

# Update App Status

`PATCH /api/oauth/apps/{app_id}/status`

Enable or disable an OAuth application.

Only the application owner can update the status.
When disabled, the application cannot be used for new authorizations
and existing access tokens will fail validation.

Returns the updated application info.

## Path parameters

- `app_id` string, required

## Request body

- BodyPatchOauthUpdateAppStatus
  - `is_active` boolean, required — Whether the app should be active

## Response `200`

Successful Response

- OAuthApplicationInfo — OAuth application information (without client secret hash)
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `logo_url` string, nullable
  - `client_id` string, required
  - `redirect_uris` string[], required
  - `grant_types` string[], required
  - `scopes` APIKeyPermission[], required
  - `owner_id` string, required
  - `is_active` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
