curl --request PUT \
--url https://api.zo.computer/rules/{rule_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition": "<string>",
"instruction": "<string>"
}
'{
"id": "<string>",
"condition": "<string>",
"instruction": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}Update an existing rule.
Only the fields provided in the request will be updated.
curl --request PUT \
--url https://api.zo.computer/rules/{rule_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"condition": "<string>",
"instruction": "<string>"
}
'{
"id": "<string>",
"condition": "<string>",
"instruction": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}Zo API key (zo_sk_...)