Method
renameModel PATCH
Copy PATCH

Renames a model

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes modelId str Unique identifier of the model to rename.
Yes name str The new name to assign to the model.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
DataNotFoundError

modelId is not found.

Language: