vhosts

CreateVirtualHostMapping

Changed on

Create a new vhost mapping.

post/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

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

Response

MappingCreated

object required

Changes