---
title: "Batch Update Token List"
method: PATCH
path: "/tokens"
tags: ["Tokens"]
---

# Batch Update Token List

`PATCH /tokens`

Batch update multiple items with partial fields

## Request body

- BatchUpdateTokenListInput
  - `ids` string[], required — The IDs of the items to update
  - `update` object, required — The update object

## Response `200`

OK

- ControllersResponseGithubModelsToken
  - `data` ModelsToken — The data to update
    - `_id` string, objectid — ID
    - `created_at` string, date-time — Created timestamp
    - `created_by` string, objectid — Created by
    - `name` string — Name
    - `token` string — Token
    - `updated_at` string, date-time — Updated timestamp
    - `updated_by` string, objectid — Updated by
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/crawlab-team/apis/crawlab-api.md) · [All operations](https://skmtc.net/crawlab-team/apis/crawlab-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crawlab-team/crawlab-api/versions/c7a4715c1f13/schema)
