model
action update
Changed onupdate action
put/api/v1/systems/{system_id}/actions/{action_id}
Request
- The document declares no server URL.
- Auth
- API key in header X-Bk-App-Code
- or API key in header X-Bk-App-Secret
Path parameters
system_idstring required
System ID
action_idstring required
Action ID
Request body
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
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking