---
title: "Applies a tab status change to the workflow of a borehole."
method: POST
path: "/api/v{version}/workflow/tabstatuschange"
tags: ["Workflow"]
---

# Applies a tab status change to the workflow of a borehole.

`POST /api/v{version}/workflow/tabstatuschange`

## Path parameters

- `version` string, required

## Request body

- WorkflowTabStatusChangeRequest — Represents a request to apply a change to a borehole's workflow's tab status. Either on the reviewed or published tab.
  - `boreholeId` integer, required — Gets or sets the identifier of the borehole whose workflow is being updated.
  - `tab` 0 | 1 | 2, required — Represents a workflow tab type.
  - `changes` object, required — Gets or sets the map of field names (string) to their new status values (bool). The provided field names must be a valid field type contained in BDMS.Models.WorkflowStatusField.

## Response `200`

Tab status change applied successfully.

## Other responses

- `400` — Invalid input for tab status change.
- `401` — Unauthorized to change tab status.
- `404` — Workflow not found for the specified borehole.
- `500` — Server error while applying tab status change.

---

[API](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2.md) · [All operations](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geoadmin/boreholes-rest-api-v2/revisions/e6d0b4ee0f52/schema)
