Skip to main content
PUT
/
form-sites
Update form site associations
curl --request PUT \
  --url https://app.azalt.co/api/v1/form-sites \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "formId": "<string>",
  "siteIds": [
    "<string>"
  ],
  "years": [
    123
  ]
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json
formId
string
required
siteIds
string[]
required
years
number[]
required

Response

Successful response

success
boolean
required