Update a user-defined property for a model

put/models/{modelId}/userProperties/{propertyKey}

Updates the value of the specified user-defined property within the specified model.

Request Samples

1

Response Samples

1{
2 "name": "priority4",
3 "type": "string",
4 "value": "high"
5}

Path Parameters

NameTypeRequiredDescription
modelId
string
true

The unique identifier for the model.

propertyKey
string
true

The key of the user-defined property.

Header Parameters

NameTypeRequiredDescription
If-Match
string
true

Client must specify the previously pulled ETag as If-Match header.

Request Body

Contains information about a user-defined property.

NameTypeRequiredDescription
name
string
false

The user-defined property key.

type
string
false

The data type of the user-defined property value.

value
string
false

The user-defined property value.

Responses

StatusMeaningDescription
200OK

The property was updated.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No model or property exists at the requested path.

Schema
412Precondition Failed

The request precondition failed.

Schema
428Precondition Required

The request requires a precondition header.

Schema