Update a single Asset.

Update the metadata attributes and/or the Security Template assignments for an Asset identified by Object ID. The Object ID must be specified in the request path.

The user submitting the request must have edit access to the Asset.

SecurityApiKeyAuth or BasicAuth
Request
path Parameters
id
required
string

Asset object ID

header Parameters
X-API-Key
required
string

Customer-specific API key required to invoke API.

Authorization
required
string

Provided by Authentication Token creation operation

AccessToken
required
string

JWT token provided by Authentication Token creation operation.

Content-Type
required
string
Value: "application/json"
Request Body schema: application/json
required

The Request Body must be a JSON object.

Array of MetadataStringValue (object) or MetadataRestrictedVocabularyValue (object) or MetadataDateValue (object) or MetadataMultiValue (object) or MetadataGridValue (object) (MetadataDocument)

Array of metadata attributes

securityTemplateIds
Array of strings <string>
Responses
200

Successful operation

401

Unauthorized. Missing Authorization or AccessToken or expired token

403

Forbidden. Missing X-API-key

patch/asset/{id}
Request samples
application/json
{
  • "metadata": [
    ],
  • "securityTemplateIds": [
    ]
}
Response samples
application/json
{
  • "status": "success",
  • "message": "Asset update was successful"
}