v1

latestSwagger 2.02026-07-175271155.8 KB
model

action update

update action

put/api/v1/systems/{system_id}/actions/{action_id}

Path parameters

system_idstring required

System ID

action_idstring required

Action ID

Request body

auth_type'rbac' | 'abac'
descriptionstring
description_enstring
hiddenboolean
namestring
name_enstring
related_actionsstring[]
sensitivityinteger
type'create' | 'edit' | 'view' | 'delete' | 'list' | 'manage' | 'execute' | 'debug' | 'use'
versioninteger

Example request

{
  "auth_type": "abac",
  "description": "biz_create is",
  "description_en": "biz_create is",
  "name": "biz_create",
  "name_en": "biz_create",
  "related_environments": [
    {
      "type": "period_daily"
    }
  ],
  "related_resource_types": [
    {
      "id": "host",
      "related_instance_selections": [
        {
          "id": "host_view",
          "system_id": "bk_cmdb"
        }
      ],
      "selection_mode": "instance",
      "system_id": "bk_cmdb"
    }
  ],
  "version": 1
}

Response

OK

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