Objectives
Patch Objective
Changed onThis endpoint allows you to update specific fields of an objective using JSON Patch operations.
patch/v2/objectives/{objectives_id}
Request
- Base URLhttps://tavusapi.com
- URLhttps://tavusapi.com/v2/objectives/{objectives_id}
- AuthAPI key in header x-api-key
Request body
Example request
[
{
"op": "replace",
"path": "/objective_name",
"value": "updated_objective_name"
}
]Response
Objective updated successfully
Example response
{
"message": "Objective updated successfully"
}Changes
- info
the endpoint scheme security
apiKeywas added to the API - info
added the media type
application/jsonto the request body - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- info