---
title: "Replace model list"
method: PUT
path: "/v1/models/list/{listId}"
tags: ["Model list"]
---

# Replace model list

`PUT /v1/models/list/{listId}`

Replace a model list to evaluate a rule that the platform applies at the organization level, overriding the old list with the list being sent on this request.

## Path parameters

- `listId` string, required

## Request body

- ModelListCreationRequest
  - `data` string[], required — List of values used to evaluate the rule condition.

## Response `201`

Created

- ModelListResponse
  - `id` string — The ID generated for the new model list.

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/pismo/apis/platform-authentication.md) · [All operations](https://skmtc.net/pismo/apis/platform-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pismo/platform-authentication/revisions/935b62e16de4/schema)
