curl --request PATCH \
--url https://api.example.com/classification-classes/{classification_class_id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"rules": [
{
"label": "<string>",
"subcategories": "<array>",
"criteria": ""
}
]
}
'{
"name": "<string>",
"rules": [
{
"label": "<string>",
"subcategories": "<array>",
"criteria": ""
}
],
"organisation_id": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}curl --request PATCH \
--url https://api.example.com/classification-classes/{classification_class_id}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"rules": [
{
"label": "<string>",
"subcategories": "<array>",
"criteria": ""
}
]
}
'{
"name": "<string>",
"rules": [
{
"label": "<string>",
"subcategories": "<array>",
"criteria": ""
}
],
"organisation_id": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Updates a classification class hierarchy to be used for a zero shot