---
title: "Update the existing configuration"
method: PUT
path: "/api/v1/mend/sca/configuration"
tags: ["[Integrations] Mend SCA"]
---

# Update the existing configuration

`PUT /api/v1/mend/sca/configuration`

## Request

- Base URL: `https://api.getcortexapp.com`
- URL: `https://api.getcortexapp.com/api/v1/mend/sca/configuration`
- Auth: HTTP bearer

## Request body

- MendScaConfigurationRequest
  - `orgKey` string, required
  - `orgType` 'SINGLE' | 'GLOBAL', required
  - `urlCustomRoot` string
  - `urlType` 'NEW' | 'LEGACY' | 'CUSTOM', required
  - `userKey` string, required

## Response `200`

Successfully updates configuration

- ConfigurationsResponseMendScaConfigurationResponse
  - `configurations` MendScaConfigurationResponse[], required
    - `lastFourOrgKey` string, required
    - `lastFourUserKey` string, required
    - `orgType` 'SINGLE' | 'GLOBAL', required
    - `urlCustomRoot` string
    - `urlType` 'NEW' | 'LEGACY' | 'CUSTOM', required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `429`: The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.

## Changes

- **2026-11-03** `a7b058663c95`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cortex/apis/cortex-api/changes/api/v1/mend/sca/configuration/put.md)

---

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