Object Type Management
Modify Custom Object Type by Name
Use this API to partially update an existing object type by its name.
🗒 Things to Know
- This API only supports objects created via Object Manager, including Projects, Models, and Datasets.
patch/v1/entity-types/names/{entityTypeName}
Path parameters
entityTypeNamestring required
Name of the object type to update. Can be used instead of entityTypeId.
The name of the object type.
Request body
Example request
{
"name": "Vendor",
"description": "Module.VendorsNameKey",
"moduleScopes": [
"Inventory",
"VRM",
"Assessments",
"IssueManagement"
],
"settings": {
"enableWorkflow": true
},
"workflow": {
"name": "Default Vendor On-Boarding",
"description": "Default Vendor On-Boarding For New Vendors",
"stages": [
{
"name": "Document Review Stage",
"nameKey": "Workflow.DocumentReview.Stage.Review",
"description": "Stage for reviewing and approving documents",
"descriptionKey": "Workflow.DocumentReview.Stage.Review.Description",
"allowDeletion": true,
"badgeColor": "#4287f5",
"approvalStage": true,
"exceptionStage": false,
"autoAdvanceOnApproval": true,
"subTasks": [
{
"name": "Initial Review",
"description": "Perform initial document review",
"required": true
}
],
"stageApprovers": [
{
"approverId": "123e4567-e89b-12d3-a456-426614174000",
"approverType": "USER",
"required": true
}
],
"stageExceptionConfiguration": {
"allowExceptions": true,
"exceptionApprovers": [
"456e7890-e89b-12d3-a456-426614174000"
]
},
"additionalFields": {
"priority": "HIGH",
"department": "Legal",
"estimatedDuration": 48
},
"advanceStageActionEnabled": true,
"advanceStageActions": [
{
"actionType": "ATTRIBUTES",
"actionMetadata": {
"fieldName": "value"
}
}
]
}
]
}
}Response
OK - The object type was successfully updated
Example response
{
"id": "789e4567-e89b-12d3-a456-426614174123",
"name": "Vendor",
"nameKey": "entity.type.vendor",
"displayName": "Vendor",
"displayNameKey": "entity.type.vendor.display",
"module": "VENDOR",
"description": "A third-party organization that provides goods or services to the company",
"descriptionKey": "entity.type.vendor.description",
"workflowType": "vendor_assessment",
"enabled": true,
"moduleScopes": [
"Inventory",
"VRM",
"Security"
],
"settings": {
"enableSearch": true,
"enableQuickCreate": true,
"enableExtendedAttributes": true,
"enableDuplicateDetection": true,
"workflowEnabled": true,
"auditEnabled": true
},
"auditFields": {
"createdBy": "admin@example.com",
"createdTimestamp": "2023-01-15T10:30:45Z",
"lastModifiedBy": "system@example.com",
"lastModifiedTimestamp": "2025-03-22T14:15:22Z"
}
}