vhosts

UpdateVirtualHostMapping

Changed on

Update a vhost mapping.

put/v1/vhost/mapping/

Request

  • Base URL
    https://localhost:1618/api
  • URL
    https://localhost:1618/api/v1/vhost/mapping/
  • Auth
    API key in header Authorization

Request body

idinteger
mappingSecurityRuleIdinteger
matchPattern'begins-with' | 'contains' | 'equals' | 'ends-with'
pathstring
shouldUpgradeInsecureRequestsboolean
targetHttpResponseCodeinteger
targetType'url' | 'service' | 'response-code' | 'inline-html' | 'static-files'
targetValuestring

Response

MappingUpdated

object required

Changes