---
title: "Updates the configuration file for Shield."
method: PUT
path: "/v1/shield/bedrock/config/{service}"
tags: ["Shield"]
---

# Updates the configuration file for Shield.

`PUT /v1/shield/bedrock/config/{service}`

## Request

- Base URL: `https://api.donutsmp.net` (the document declares no server; this is the origin it was published from)
- URL: `https://api.donutsmp.net/v1/shield/bedrock/config/{service}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/donutsmp/apis/donutsmp-public-api/docs/v1/shield/bedrock/config/:service/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the server backends for the Shield service

## Path parameters

- `service` string, required

## Request body

- ApiBedrockShieldConfig
  - `backends` string[]

## Response `200`

Response

- ApiShieldConfig
  - `regionalizedBackends` object[]

## Other responses

- `401`: Unauthorized request
- `500`: Could not handle query

---

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