---
title: "Api Integrations Partial Update"
method: PATCH
path: "/api/integrations/"
tags: ["integrations"]
---

# Api Integrations Partial Update

`PATCH /api/integrations/`

PATCH handler with superadmin lock and field protection.

Checks:
1. Object lock (is_managed=True -> non-superadmins can't modify)
2. Field protection (non-superadmins can't modify specific fields)

## Headers

- `Authorization` string, required

## Request body

- PatchedIntegrationRequest
  - `extra_kwargs` PatchedIntegrationRequestExtraKwargs
  - `credentials` PatchedIntegrationRequestCredentials
  - `provider` string, nullable
  - `project` string, nullable
  - `type` string
  - `name` string
  - `available_models` string[]
  - `excluded_models` string[]
  - `weight` number, double
  - `is_active` boolean
  - `is_managed` boolean
  - `environment` union
    - 'prod' | 'stage' | 'test' | 'all' — * `prod` - Prod * `stage` - Dev * `test` - Test * `all` - All
    - ''
  - `title` string
  - `integration_unique_id` string, nullable
  - `user` integer, nullable
  - `organization` integer, nullable

## Response `200`

- Integration
  - `id` integer, required
  - `masked_extra_kwargs` string, required
  - `provider` string, nullable
  - `project` string, nullable
  - `created_at` string, date-time, nullable, required
  - `updated_at` string, date-time, nullable, required
  - `type` string
  - `name` string
  - `available_models` string[]
  - `excluded_models` string[]
  - `weight` number, double
  - `is_active` boolean
  - `is_managed` boolean
  - `environment` union
    - 'prod' | 'stage' | 'test' | 'all' — * `prod` - Prod * `stage` - Dev * `test` - Test * `all` - All
    - ''
  - `title` string
  - `integration_unique_id` string, nullable
  - `user` integer, nullable

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/versions/c26d550029f8/schema)
