---
title: "Update world bot deployment"
method: PATCH
path: "/{worldId}/bots/{botDeploymentId}/"
tags: ["Worlds Bots", "public"]
---

# Update world bot deployment

`PATCH /{worldId}/bots/{botDeploymentId}/`

Update a bot deployment for the specified world. This can be used to alter the bot count in a bot deployment.

## Path parameters

- `worldId` string, required
- `botDeploymentId` string, required

## Headers

- `x-m2-organization-id` string, required — The ID of an organization
- `x-m2-project-id` string, required — The ID of a project

## Request body

- PatchBotDeploymentRequest — Patch a bot deployment
  - `count` number, required
  - `cpu` string, regex
  - `memory` string, regex
  - `args` string[]
  - `durationMinutes` number
  - `metadata` object
    - `annotations` object
    - `labels` object

## Response `200`

Default Response

---

[API](https://skmtc.net/otherside/apis/worlds.md) · [All operations](https://skmtc.net/otherside/apis/worlds/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/otherside/worlds/revisions/fe3e2eee3c6f/schema)
