SymetryML Documentation
Models

Rename model

Assigns a new name to an existing model. Note this is a `GET` request, not `POST` — the rename is performed as a side effect of the query.

GET
/{user}/projects/{project}/models/{model}/rename

Assigns a new name to an existing model. Note this is a GET request, not POST — the rename is performed as a side effect of the query.

Authorization

SymetryMLAuth
AuthorizationBearer <token>

HMAC-SHA256 signature-based authentication: requests are signed with your secret key and sent with the Customer-ID, Sym-date, Authorization, Content-MD5 and sym-version headers. See SymetryML REST API Security for the signature algorithm and a complete example.

In: header

Path Parameters

user*string

User/Customer identifier

project*string

Project identifier

model*string

Model identifier

Query Parameters

newName*string

New name for the model. Must be a non-empty alphanumeric string.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/c1/projects/nbra_prj_iris/models/nbra_prj_iris_build_1/rename?newName=nbra_prj_iris_build_1_renamed"
{  "statusCode": 200,  "statusString": "OK",  "values": {}}

{  "statusCode": 400,  "statusString": "Cannot find Project[unknownRtlm] for Customer[c1]",  "values": {}}

{  "statusCode": 409,  "statusString": "Model[nbra_prj_iris_build_1] cannot have same name as existing Model[nbra_prj_iris_build_2] of Project[nbra_prj_iris] of Customer[c1]",  "values": {}}