---
title: "PATCH /v1/agentspaces/{agentSpaceId}/operator/idp"
method: PATCH
path: "/v1/agentspaces/{agentSpaceId}/operator/idp"
---

# PATCH /v1/agentspaces/{agentSpaceId}/operator/idp

`PATCH /v1/agentspaces/{agentSpaceId}/operator/idp`

Update the external Identity Provider configuration for the Operator App

## Path parameters

- `agentSpaceId` string, required — Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)

## Request body

- object
  - `idpClientSecret` string, password — Client secret for IdP OIDC authentication.

## Response `200`

Success

- UpdateOperatorAppIdpConfigOutput — Output containing the updated IdP configuration.
  - `agentSpaceId` string, required — The unique identifier of the AgentSpace
  - `idp` IdpAuthConfiguration, required — Configuration for external Identity Provider OIDC authentication flow for the Operator App.
    - `issuerUrl` string, required — The OIDC issuer URL of the external Identity Provider
    - `clientId` string, required — The OIDC client ID for the IdP application
    - `operatorAppRoleArn` string, required — The IAM role end users assume to access AIDevOps APIs
    - `provider` string, required — The Identity Provider name (e.g., Entra, Okta, Google)
    - `createdAt` string, date-time, required — The timestamp when the Operator App IdP auth flow was enabled.
    - `updatedAt` string, date-time — The timestamp when the Operator App IdP auth flow was updated.

## Other responses

- `480` — ValidationException
- `481` — ContentSizeExceededException
- `482` — ServiceQuotaExceededException
- `483` — ConflictException
- `484` — InternalServerException
- `485` — AccessDeniedException
- `486` — ResourceNotFoundException
- `487` — ThrottlingException
- `488` — InvalidParameterException

---

[API](https://skmtc.net/aws/apis/devops-agent.md) · [All operations](https://skmtc.net/aws/apis/devops-agent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/devops-agent/versions/ca2af02d3853/schema)
