Submit Control Operation
/enterprise/v1/operationsaction, parameters and idempotencyKey are required. idempotencyKey is at most 128 characters. This route submits for review; HTTP 202/code 200 does not mean execution succeeded. It requires an approval-enabled enterprise. See the approvals guide for supported actions and parameter shapes.
Authentication
Control key with every scope required by the action. Model-policy actions require MANAGEMENT.
Authorization: Bearer <CONTROL_KEY>
Request body
actionstringrequiredSupported action name / 支持的 action 名称
parametersobjectrequiredAction-specific parameters / 对应 action 的参数
idempotencyKeystringrequiredNonblank; max 128 / 非空,最长 128
Fields use camelCase. Required and optional fields are described above.
1{
2 "action": "set_sub_account_status",
3 "parameters": {
4 "subAccountId": "1000000001",
5 "status": "suspended"
6 },
7 "idempotencyKey": "member-pause-001"
8}Response
HTTP 202; code: 200. Values below are illustrative; fields use camelCase.
codeinteger200
dataobject | nulldata.operationIdstringdata.actionstringdata.statusstringdata.executedbooleandata.digeststringdata.parametersobjectdata.beforeobjectdata.resultstring | nulldata.failureCodestring | nulldata.approvalPathstringdata.createdAtstringdata.expiresAtstringErrors
Check both HTTP status and code; on failure inspect serviceCode, msg and traceId. Invalid credentials receive no data; missing scopes return API_KEY_SCOPE_DENIED. Cross-tenant resources are inaccessible. Acceptance or pending approval does not mean business completion.