v1

latestSwagger 2.02026-07-175271155.8 KB
model

resource type update

update resource_type

put/api/v1/systems/{system_id}/resource-types/{resource_type_id}

Path parameters

system_idstring required

System ID

resource_type_idstring required

Resource Type ID

Request body

descriptionstring
description_enstring
namestring

ID string json:"id" binding:"required"

name_enstring
sensitivityinteger
versioninteger

Example request

{
  "description": "biz_set is a",
  "description_en": "biz_set is a",
  "name": "biz_set",
  "name_en": "biz_set",
  "parents": [
    {
      "id": "host",
      "system_id": "bk_cmdb"
    }
  ],
  "provider_config": {
    "path": "/api/v1/resources/biz_set/query"
  },
  "version": 1
}

Response

OK

codeinteger
{"stackTrail":"components:schemas:util.Response:properties:data","oasType":"schema","type":"unknown"}
messagestring