POST
/
api
/
monitors
/
automated
/
v1
/
deployment-rules
UpsertDeploymentRule
curl --request POST \
  --url https://developer.synq.io/api/monitors/automated/v1/deployment-rules \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "deploymentRule": {
    "exclusiveQueryConfig": {
      "query": {
        "parts": [
          {}
        ],
        "operand": "QUERY_OPERAND_UNSPECIFIED"
      }
    },
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>"
  }
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Success

The response is of type object.