Ana içeriğe atla
PUT
/
form-sites
Form-tesis ilişkilerini güncelle
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
}

Yetkilendirmeler

Authorization
string
header
gerekli

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

Gövde

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

Yanıt

Successful response

success
boolean
gerekli