---
title: "Update the status of an offer or the verifiable credential associated with the id. This is only for deferred flows. The status is set to ready for issuance"
method: PATCH
path: "/management/api/credentials/{credentialManagementId}"
tags: ["Credential API"]
---

# Update the status of an offer or the verifiable credential associated with the id. This is only for deferred flows. The status is set to ready for issuance

`PATCH /management/api/credentials/{credentialManagementId}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/management/api/credentials/{credentialManagementId}`
- Auth: none declared

## Path parameters

- `credentialManagementId` string, uuid, required

## Request body

- string

## Response `200`

Credential status updated

- UpdateStatusResponse
  - `id` string, uuid
  - `status` 'INIT' | 'OFFERED' | 'CANCELLED' | 'IN_PROGRESS' | 'DEFERRED' | 'READY' | 'ISSUED' | 'SUSPENDED' | 'REVOKED' | 'REQUESTED' | 'EXPIRED': Status for the full lifecycle of a verifiable credential. OFFERED - an offer link has been created, and not yet redeemed by a holder. CANCELLED - the VC was revoked before being claimed. IN_PROGRESS - very short lived state, if the Holder has redeemed the one-time-code, but not yet gotten their credential. To allow a holder to retry fetching the vc set the state to offered. DEFERRED - the offer has been used and all necessary data from the wallet has been received but the credential is not yet issued. To use this state the credential metadata entry has to have deferred set to true. READY - Status set by the business issuer to continue the issuance of the credential for the deferred flow. ISSUED - the VC has been collected by the holder and is valid. SUSPENDED - the VC has been temporarily suspended. To unsuspend change state to issued. REVOKED - the VC has been revoked. This state is final and can not be changed. EXPIRED - the lifetime of the VC expired (not used yet)
  - `status_lists` string[]

## Other responses

- `400`: Bad request due to user content or internal call to external service like statuslist

## Changes

- **2026-06-10** `792e73b12ecb`: 1 breaking
  - the request's body type changed from `object` to `string`
- **2026-05-26** `beb3cc8fa8bf`: 1 info
  - removed the non-success response with the status `404`

[Operation history](https://skmtc.dev/swiyu/apis/issuer-service-api/changes/management/api/credentials/:credentialManagementId/patch.md)

---

[API](https://skmtc.dev/swiyu/apis/issuer-service-api.md) - [All operations](https://skmtc.dev/swiyu/apis/issuer-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/swiyu/apis/issuer-service-api/revisions/f2f3fbbaf461?raw)
