Replace the classification requirements of a workflow step
/workflow-steps/{workflow_step_id}/classification-requirementsMakes the step's requirements exactly the items you send, in that order. An item with an id updates that requirement, one without creates it, and requirements you leave out are deleted and can't be restored. Send up to 100 items; an id not on the step returns 422, and nothing changes if any item is invalid. dry_run shows the result without saving. It emits no webhook. To change one requirement and keep the rest, use PATCH /workflow-steps/{workflow_step_id}/classification-requirements/{id}.
Path parameters
The workflow step the requirements belong to.
Query parameters
Validate and run the call without committing it, returning what the real call would return with
meta.dry_runset.
Request body
application/json, required
The whole set of requirements as it should be.
{
"items": [
{
"id": "7c8d9e0f-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
"enabled": false
},
{
"classification_ids": [
21
],
"label": "Professional investor"
}
]
}Responses
{
"data": [
{
"id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"workflow_step_id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
"classification_ids": [
1
],
"label": "string",
"error_message": "string",
"enabled": true,
"created_at": "2026-06-12T10:00:00+00:00",
"updated_at": "2026-06-12T10:00:00+00:00"
}
]
}Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per
problem, or a code documented on the operation.
Examples
curl -X PUT https://your-org-domain/kong/core/api/v2/workflow-steps/{workflow_step_id}/classification-requirements\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"\
-d '{
"items": [
{
"id": "7c8d9e0f-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
"enabled": false
},
{
"classification_ids": [
21
],
"label": "Professional investor"
}
]
}'