---
title: "Update Credential"
method: PUT
path: "/credential/{credential_id}"
tags: ["Credential"]
---

# Update Credential

`PUT /credential/{credential_id}`

Updates the Credential corresponding to the given `id`. The endpoint can be used to update the `name`, `issueDate`, `expireDate` and custom `attributes` of the Credential.

## Path parameters

- `credential_id` string, required

## Headers

- `api-version` string, required

## Request body

- CredentialUpdateRequest
  - `name` string
  - `issueDate` string, date
  - `expireDate` string, date, nullable
  - `attributes` AttributeValue[]
    - `id` string
    - `value` string

## Response `200`

Successful response

- ApiResponse
  - `message` string, nullable
  - `hasError` boolean
  - `validationErrors` string[]
  - `data` unknown
  - `content` unknown

---

[API](https://skmtc.net/sertifier/apis/sertifier-credential-api-documentation.md) · [All operations](https://skmtc.net/sertifier/apis/sertifier-credential-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sertifier/sertifier-credential-api-documentation/revisions/98c494325aae/schema)
