---
title: "Enable or disable a provider"
method: PUT
path: "/accounts/terms/provider"
tags: ["Terms"]
---

# Enable or disable a provider

`PUT /accounts/terms/provider`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/terms/provider`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/terms/provider/put.ts> (a function with typed inputs; its response is checked against the schema)

Enables or disables a provider and records the organisation's acceptance. Enabling requires `accepted_version` to equal the current version. Admin or root.

## Request body

- object
  - `provider_id` string, required: Provider id
  - `enabled` boolean, required
  - `record_config_ids` string[]
  - `accepted_version` integer: Provider terms version accepted

## Response `200`

Success

- object
  - `data` object

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Caller is not an admin or root

## Changes

- **2026-11-12** `700eb1ace61a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/changes/accounts/terms/provider/put.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
