Contacts
Update custom attribute
Updates an existing custom attribute
put/chatbots/{chatbotId}/custom-attributes/{name}
Request
- Base URLhttps://www.chatbase.co/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chatbotIdstring required
ID of the chatbot
namestring required
Name of the custom attribute
Request body
Example request
{
"label": "Department",
"description": "Updated employee department"
}Response
Custom attribute updated successfully
Example response
{
"message": "Success",
"data": {
"name": "department",
"label": "Department",
"type": "text",
"description": "Employee department"
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.