Skip to main content
PATCH
/
api
/
automations
/
{id}
Patch Automation
curl --request PATCH \
  --url https://api.example.com/api/automations/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

x-prefect-api-version
string

Path Parameters

id
string<uuid>
required

Body

application/json
enabled
boolean
default:true

Whether this automation will be evaluated

Response

Successful Response