---
title: "Replace a team's sandbox scheduling labels"
method: PUT
path: "/unstable/admin/teams/{teamID}/scheduling-labels"
tags: ["admin"]
---

# Replace a team's sandbox scheduling labels

`PUT /unstable/admin/teams/{teamID}/scheduling-labels`

## Request

- Base URL: `https://api.e2b.app`
- URL: `https://api.e2b.app/unstable/admin/teams/{teamID}/scheduling-labels`
- Auth: one of:
  - API key in header `X-Admin-Token`
  - HTTP bearer

Replaces the labels that place the team's new sandboxes on matching
nodes. Labels are deduplicated, keeping the first occurrence of each.

## Path parameters

- `teamID` string, uuid, required

## Request body

- AdminTeamSchedulingLabels
  - `labels` string[], required: The team's full set of labels. A request's labels replace the current ones.

## Response `200`

The labels as written

- AdminTeamSchedulingLabels
  - `labels` string[], required: The team's full set of labels. A request's labels replace the current ones.

## Other responses

- `400`: Bad request
- `401`: Authentication error
- `404`: Not found
- `429`: Too many requests
- `500`: Server error

## Changes

- **2026-10-26** `99fccbc60e6d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/e2b-dev/apis/e2b-api/changes/unstable/admin/teams/:teamID/scheduling-labels/put.md)

---

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