(NEW!) Update an Asset

Update the metadata attribute values and/or the Security Template assignments for an Asset identified by Object ID (Asset ID). ** The identifier must be specified in the path parameter.

** The user requesting the Asset must have edit role privilege, as well as edit permission on the Asset's security template in order to update the Asset. **

SecurityApiKeyAuth or BasicAuth
Request
path Parameters
id
required
string <uuid>

The Asset Identifier belonging to the Asset to update.

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

The Request Body must be a JSON object. Update the security templates assigned to an Asset, or update metadata values. Only those values you wish to change need to be provided.

securityTemplateIds
Array of strings <uuid> [ 1 .. 50 ] items
Array of attribute (object) or table (object)
Responses
200

Success

401

Unauthorized. Missing Authorization or AccessToken or Access Token expired. Also occurs if the user does not have the permission to perform the action.

403

Forbidden. Missing X-API-key or Asset Not Found.

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