---
title: "Update credential"
method: PUT
path: "/credentials/{clientId}"
tags: ["Credentials"]
---

# Update credential

`PUT /credentials/{clientId}`

Updates an existing credential.
### Authorization Required:
  - Designer Administrator

## Path parameters

- `clientId` string, required

## Request body

- CredentialRequest
  - `clientId` string, required — Client ID of the credential.
  - `clientSecret` string, required — Client secret of the credential.
  - `description` string — Description of the credential.
  - `designerRoles` string — Creator roles of the credential.
  - `expressRoles` string — Express roles of the credential.
  - `name` string, required — Name of the credential.

## Response `200`

JSON describing the updated credential

- CredentialResponse
  - `clientId` string, required — Client ID of the credential.
  - `name` string, required — Name of the credential.
  - `role` string, required — Express role of the credential.
  - `roles` string[], required — Creator or Express roles of the credential.
  - `groups` string[] — Express groups of the credential.
  - `applicationRoles` object — Application Express roles of the credential.
  - `created` string, required — Date of when the credential was created.
  - `modified` string — Date of when the credential was modified.
  - `status` string, required — Status of the credential.
  - `credentialType` string, required — Type of the credential (Creator or Express).
  - `expireDate` string — Date of when the credential expires.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/unqork/apis/unqork-customer-api.md) · [All operations](https://skmtc.net/unqork/apis/unqork-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unqork/unqork-customer-api/revisions/112399a67ebb/schema)
