POST
/public/v1/projects/{projectId}/models/{modelId}/name
curl \
--request POST 'https://live.smartpmtech.com/public/v1/projects/{projectId}/models/{modelId}/name' \
--header "X-API-KEY: $API_KEY" \
--header "Content-Type: application/json" \
--header "X-COMPANY-ID: string" \
--data '{"name":"string"}'
Request examples
# Headers
X-COMPANY-ID: string
# Payload
{
"name": "string"
}
Response examples (500)
{}
Response examples (200)
{
"description": "string",
"projectId": 42,
"modelType": "BASELINE",
"isAutoUpdate": true,
"initialDataDate": "2025-05-04T09:42:00Z",
"isArchived": true,
"isOriginalModel": true,
"modelImportLogIds": [
42
],
"modelBaseRuleIds": [
42
],
"name": "string",
"id": 42
}