---
title: "Patch application status on the state for an SBI, grant code and grant version"
method: PATCH
path: "/state/{sbi}/{grantCode}/{grantVersion}"
tags: ["State"]
---

# Patch application status on the state for an SBI, grant code and grant version

`PATCH /state/{sbi}/{grantCode}/{grantVersion}`

## Path parameters

- `sbi` string, required
- `grantCode` string, required
- `grantVersion` union, required
  - string
  - integer

## Request body

- StatePatchRequest
  - `state` object, required
    - `applicationStatus` string, required

## Response `200`

The updated state record

- StatePatchResponse
  - `success` boolean, required
  - `patched` boolean — Present and true when a state record was patched

## Other responses

- `400` — Validation error
- `404` — No state found for the given identifiers
- `500` — Failed to patch state

---

[API](https://skmtc.dev/defra/apis/grants-ui-backend-api.md) · [All operations](https://skmtc.dev/defra/apis/grants-ui-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/defra/grants-ui-backend-api/revisions/09665d03cacb/schema)
