Updates an asset type with the specified ID.
Request
Path parameters
| Key | Required | Type | Value | Description |
|---|---|---|---|---|
| id | Yes | string | objectId |
The object ID for the asset type that you want to update. |
Request body
The request body contains an array of objects that update one or more asset types with these properties.
| Property | Required | Type | Description |
|---|---|---|---|
| path | Yes | string |
Identifies a property to be updated. |
| op | Yes | string | Designates the update operation. |
| value | No | any |
The new value. |
| from | No | string |
[
{
"op": "add",
"path": "/properties/1",
"value": {
"name": "BooleanField",
"label": "Boolean values",
"type": "Boolean",
"description": "Adding boolean field",
"category": "Salary Category",
"requirement": "Optional",
"display": {
"show": true,
"showIfEmpty": false,
"showInColumn": false
},
"search": {
"prefix": "",
"suffix": "",
"displayOrder": 1
},
"definition": {
"boolean": {
"defaultValue": true,
"trueLabel": "false",
"falseLabel": "false"
}
}
}
}
]
Response
Response body
Example status code responses for this method are shown here. To view the response schemas, you can download the Data Catalog APIs Open API Specification from the Precisely Developer Portal..
{
"data": {
"id": "68ca97cc50212e5df6b280d0",
"class": "Business",
"name": "QA_",
"displayFormat": "{Name}",
"abstract": false,
"state": "Active",
"overridability": "All",
"isSystem": false,
"createdBy": "00u17r5rbf45iXfQp0h8",
"createdAt": "2025-09-17T11:13:16.119Z",
"updatedAt": "2025-09-17T11:15:27.408Z",
"updatedBy": "00u17r5rbf45iXfQp0h8",
"views": [
{
"name": "QA_View",
"viewType": "Grid",
"isDefault": true,
"columns": [
{
"name": "Name",
"widthType": "Fixed",
"widthValue": 250
}
],
"filters": [
{
"name": "Name",
"persist": false
}
],
"sorts": [
{
"name": "Name",
"direction": "Asc"
}
]
}
],
"description": "This is a test",
"xref": [
"e023087ecaed"
],
"contexts": [],
"properties": [
{
"name": "Name",
"label": "Name",
"type": "Text",
"definition": {
"text": {
"allowRichText": true,
"defaultValue": "false",
"validation": {
"regex": "",
"minLength": 0,
"maxLength": 0
}
}
},
"requirement": "Key",
"category": "General",
"display": {
"show": true,
"showIfEmpty": true,
"showInColumn": true
},
"editableOnUi": true
},
{
"name": "BooleanField",
"label": "Boolean values",
"type": "Boolean",
"definition": {
"boolean": {
"defaultValue": true,
"trueLabel": "false",
"falseLabel": "false"
}
},
"requirement": "Optional",
"category": "Salary Category",
"display": {
"show": true,
"showIfEmpty": false,
"showInColumn": false
},
"search": {
"prefix": "",
"suffix": "",
"displayOrder": 1
},
"description": "Adding boolean field",
"editableOnUi": true
}
],
"maximumDepth": 1,
"assetCount": 0
},
"links": {
"self": "https://api.cloud.precisely.com/asset-types/:id"
}
}
{
"statusCode": 400,
"error": "Bad Request",
"message": "Bad Request"
}
{
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required"
}
{
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found"
}
{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}
{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred"
}
{
"statusCode": 503,
"error": "Service Unavailable",
"message": "Service temporarily unavailable"
}
{
"statusCode": 504,
"error": "Gateway Timeout",
"message": "Request timeout"
}