Brian V. Dasa Marvin
03/20/2025, 8:31 PMSarthak
03/22/2025, 7:02 AMSarthak
03/22/2025, 7:02 AMendCallPhrases field from an assistant, you would use the PATCH endpoint to update the assistant, setting the field to null. This indicates to the API that you want to remove this value from the database.
Here's the API request to remove the endCallPhrases (call phrases) from an assistant:
\`\`\`http
PATCH /assistant/{id}
Content-Type: application/json
Authorization: Bearer <your_api_token>
{
"endCallPhrases": null
}
\`\`\`
Replace {id} with the actual ID of your assistant.
The code in the repository shows that setting these fields to null in the update request will result in them being removed from the database, as indicated by this comment: null values are necessary and indicate that the api should remove that value from the DB.