---
title: "Replace all user-defined fields on a credentialing workflow"
method: PUT
path: "/credentialing-workflows/{workflowId}/userdefinedfields"
tags: ["CredentialingWorkflow"]
---

# Replace all user-defined fields on a credentialing workflow

`PUT /credentialing-workflows/{workflowId}/userdefinedfields`

Replaces the entire `userDefinedFields` object on the credentialing workflow identified by `workflowId` with the provided object (full-replacement PUT semantics). Any key currently in `userDefinedFields` that is not present in the request body will be removed. Send an empty object (`{}`) to clear all user-defined fields. The set of valid keys is tenant-configured.

## Path parameters

- `workflowId` string, required

## Headers

- `tenant-id` string, required

## Request body

- object — User defined fields object with custom properties

## Response `200`

User defined fields updated successfully

- object

## Other responses

- `400` — Bad request - Invalid input or validation error
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Credentialing workflow not found
- `500` — Internal server error

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/563848e0ecc0/schema)
