Luxor PlatformAPI DocumentationCommanderAutomation Rules
Update automation rule
Updates an existing automation rule. Accepts any subset of creation fields. Common use: flip status between enabled/disabled.
Authorization
LuxorAPIKey authorization<token>
Use your API key here.
In: header
Path Parameters
rule_id*string
Rule ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://example.com/v2/commander/automation/rules/r-a1b2c3d4-e5f6-7890-abcd-ef1234567890" \ -H "Content-Type: application/json" \ -d '{}'Empty
{ "statusCode": 400, "code": "FST_ERR_VALIDATION", "error": "Bad Request", "message": "body/end_date Required"}{ "statusCode": 400, "code": "FST_ERR_VALIDATION", "error": "Bad Request", "message": "body/end_date Required"}{ "statusCode": 400, "code": "FST_ERR_VALIDATION", "error": "Bad Request", "message": "body/end_date Required"}