POST /api/v1/rules

Create a new rule.

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-Auth-Token
    • or API key in header St2-Api-Key
    • or API key in query parameter x-auth-token
    • or API key in query parameter st2-api-key
    • or API key in header auth-token

Request body

Rule required

Response

Single action being created

Rule required

Changes

No recorded changes to this operation across all 73 revisions of this API.