Skip to main content

Update a dynamic URL

Path Parameters
  • vaCode string required
Request Body
  • url string

    URL of the website where the dynamic URL will be used

  • google_bot_filter boolean

    Filter out visits made by google bots

  • subdomain_tracking boolean

    Keep the same visit open when visitor visits subdomain

Responses


Schema
  • va_code string
  • url string
  • google_bot_filter boolean
  • subdomain_tracking boolean
  • pools object[]
  • id integer
  • name string
  • prefix object
  • prefix string

    Possible values: Value must match regular expression [1-9]{1,3}[0-9]+

  • description string
  • country string
  • format string
  • international_format string
  • custom_format string
  • numbers_to_replace string[]

    Possible values: Value must match regular expression ^[0-9]{1,14}$

PUT /urls/:vaCode
vaCode — path
Body
{
"url": "www.mediahawk.co.uk",
"google_bot_filter": false,
"subdomain_tracking": false
}
curl -L -X PUT 'https://www.reports.mediahawk.co.uk/rest/v2_0/urls/:vaCode' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"url": "www.mediahawk.co.uk",
"google_bot_filter": false,
"subdomain_tracking": false
}'