Update Branch

Updates the name of an existing branch in your prompt on Confident AI.

Path parameters

aliasstringRequired
The unique alias of the prompt.
namestringRequired
The unique name of the branch you're trying to update.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Request

namestringOptional
The new name of the branch you're trying to update.
requiredanyOptional

Response

successboolean
This is true if the prompt branch was successfully deleted.
dataobject
deprecatedboolean
This is true if this endpoint is deprecated.