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

# Enable or disable an authentication configuration

`PATCH /api/v3.1/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

## 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.net/composiohq/apis/composio-platform-api-v3-1.md) · [All operations](https://skmtc.net/composiohq/apis/composio-platform-api-v3-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/composiohq/composio-platform-api-v3-1/versions/4239836857f8/schema)
