# Source: https://configcat.com/docs/api/reference/replace-setting.md

# Replace Flag

Copy page

This endpoint replaces the whole value of a Feature Flag or Setting identified by the `settingId` parameter.

**Important:** As this endpoint is doing a complete replace, it's important to set every other attribute that you don't want to change in its original state. Not listing one means it will reset.

## Request[​](#request "Direct link to Request")

## Responses[​](#responses "Direct link to Responses")

* 200
* 400
* 404
* 429

When the replace was successful.

Bad request.

Not found.

Too many requests. In case of the request rate exceeds the rate limits.