---
title: "Update a connection external-identity JIT policy"
method: PATCH
path: "/integrations/connections/{connectionId}/external-identity-jit-policy"
tags: ["Integrations"]
---

# Update a connection external-identity JIT policy

`PATCH /integrations/connections/{connectionId}/external-identity-jit-policy`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/integrations/connections/{connectionId}/external-identity-jit-policy`
- Auth: none declared

Enable or disable external-identity JIT for one connection.

## Path parameters

- `connectionId` string, uuid, required: Integration connection whose JIT policy is being read or updated.

## Request body

- object
  - `organizationId` string: Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).
  - `enabled` boolean, required

## Response `200`

OK

- object
  - `organizationEnabled` boolean, required: Stored organization-wide policy.
  - `connectionEnabled` boolean, required: Stored connection policy.
  - `effectiveEnabled` boolean, required: True only when both stored policies are enabled.

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) - [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/965b6230cf45?raw)
