---
title: "WorkspaceProjects"
method: PATCH
path: "/workspaces/{workspace_id}/projects/{project_ids}"
tags: ["projects"]
---

# WorkspaceProjects

`PATCH /workspaces/{workspace_id}/projects/{project_ids}`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/workspaces/{workspace_id}/projects/{project_ids}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/workspaces/:workspace_id/projects/:project_ids/patch.ts> (a function with typed inputs; its response is checked against the schema)

Bulk editing workspace projects.

## Path parameters

- `workspace_id` integer, required
- `project_ids` string, required

## Request body

- ProjectPatchInput[]
  - `op` string: Patch operation to perform, one of "add", "remove", "replace"
  - `path` string: Path to the field to patch, example: "/color"
  - `value` object: Value to set when operation is "add" or "replace", example: "#000000". The value type actually depends on the field being patched.

## Response `200`

Successful operation.

- ProjectsPatchOutput
  - `failure` ProjectsPatchFailure[]
    - `id` integer
    - `message` string
  - `success` integer[]

## Other responses

- `500`: Internal Server Error

---

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