Update SoftwareComponentType
Update software component type by id.
The id of SoftwareComponentType.
The SoftwareComponentType contents.
"SoftwareComponentType Object"
schema
lifecycleTasks
description
version
lastUpdated
createdDate
name
tenantId
publishStatusName
id
catalogResourceTypeId
containerResourceTypeId
publishStatus
containerFieldId
Success - return updated software component type.
{
"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": [
{
"value": {}
}
]
}
}
]
},
"lifecycleTasks": [
{
"lastUpdated": "string",
"createdDate": "string",
"taskDescriptorRef": {
"lastUpdated": "string",
"createdDate": "string",
"name": "string",
"description": "string",
"id": "string",
"version": 0
},
"id": "string",
"version": 0,
"script": {
"scriptContent": "string",
"isRebootAfter": false,
"scriptTypeId": {
"name": "string",
"supportedOsDetails": [
{
"execCommand": "string",
"osFamily": "string",
"execScript": "string",
"supportsOutputProps": false,
"fileExtension": "string",
"execScriptExtension": "string"
}
]
}
}
}
],
"description": "string",
"version": 0,
"lastUpdated": "string",
"createdDate": "string",
"derivesFromRef": "SoftwareComponentType Object",
"name": "string",
"tenantId": "string",
"publishStatusName": "string",
"id": "string",
"catalogResourceTypeId": "string",
"containerResourceTypeId": "string",
"publishStatus": "string",
"containerFieldId": "string"
}
schema
lifecycleTasks
description
version
lastUpdated
createdDate
name
tenantId
publishStatusName
id
catalogResourceTypeId
containerResourceTypeId
publishStatus
containerFieldId
Invalid software component type for update.
Forbidden.
Software component type not found.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/software-service/api/softwarecomponenttypes/{id}