Update Endpoint Type
The API updates an existing endpoint type. The API performs the following validation before updating the endpoint type:
1. There is an existing endpoint type with the specified id.
2. Another endpoint type wth the same name does not exist.
Id of the endpoint type to be updated.
Endpoint type to be updated with.
{
"schema": {
"fields": [
{
"permissibleValues": {
"customAllowed": false
},
"displayAdvice": "string",
"columns": [
"Field Object"
],
"dataType": {
"typeId": "string"
},
"isMultiValued": false,
"description": "string",
"orderIndex": 0,
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
}
}
]
},
"serviceProviderId": "string",
"capabilities": "string",
"displayName": "string",
"categoryDisplayName": "string",
"menuItems": [
{
"displayName": "string",
"icon": "string",
"menuId": "string",
"location": "string",
"id": 0,
"extensionId": "string"
}
],
"description": "string",
"version": 0,
"tenantable": false,
"lastUpdated": "string",
"createdDate": "string",
"tenantId": "string",
"id": "string",
"category": "string"
}
serviceProviderId
capabilities
displayName
categoryDisplayName
description
version
tenantable
lastUpdated
createdDate
tenantId
id
category
Unauthorized.
Endpoint type with the specified id does not exist.
Request failed validation.
Tenantable endpoint types cannot be created.