All Products
Search
Document Center

Security Center:BatchModifyInstanceStatus

Last Updated:Dec 09, 2025

Enables or disables a batch of playbooks.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

PlaybookUuid

string

Yes

The UUID of the playbook. To modify multiple playbooks, separate the UUIDs with commas.

Note

Call the DescribePlaybooks operation to obtain this parameter.

8baa6cff-319e-4ede-97bc-1xxxxxx,s8df2e-s8dfs-xxxx

Active

integer

Yes

The status to set for the playbook. Valid values:

  • 0: Disables the playbook.

  • 1: Enables the playbook.

1

Lang

string

No

The language of the request and response. Valid values:

  • zh (default): Chinese.

  • en: English.

zh

Response elements

Element

Type

Description

Example

object

The response.

RequestId

string

The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues.

358E012F-B516-599D-9ED0-A1A361CDE615

Examples

Success response

JSON format

{
  "RequestId": "358E012F-B516-599D-9ED0-A1A361CDE615"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.