---
title: "Enable or disable an authentication configuration"
method: PATCH
path: "/api/v3/auth_configs/{nanoid}/{status}"
tags: ["Auth Configs"]
---

# Enable or disable an authentication configuration

`PATCH /api/v3/auth_configs/{nanoid}/{status}`

Updates the status of an authentication configuration to either enabled or disabled. Disabled configurations cannot be used for new connections.

## Path parameters

- `nanoid` string, authConfigId, required — The unique identifier of the authentication configuration to update
- `status` 'ENABLED' | 'DISABLED', required — The new status to set for the auth configuration

## Response `200`

Successfully updated auth config status

- object
  - `success` boolean, required — Whether the status update succeeded
  - `message` string, required — A human-readable result message

## Other responses

- `400` — Bad request - Invalid auth config ID or status value
- `401` — Unauthorized - Authentication required
- `404` — Not found - Auth configuration does not exist
- `500` — Internal server error - Something went wrong on the server

---

[API](https://skmtc.dev/composiohq/apis/composio-platform-api.md) · [All operations](https://skmtc.dev/composiohq/apis/composio-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/composiohq/composio-platform-api/revisions/368fb7851f42/schema)
