Update a category
Updates the specified category by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters
name
string
required
Name for the category.
Returns
Returns the category object if the update succeeded. Throws an error if update parameters are invalid.
put
/api/categories/{id}
curl -X PUT https://{workspace}.documocu.com/api/categories/{id} \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"created_at": "2024-05-14T12:35:40+00:00",
"id": "cat_7vd1kynnir8fxdg6qgtgvuom",
"name": "Occaecati",
"updated_at": "2024-05-14T12:35:40+00:00"
}