Skip to main content

Add a URL rule to a website

POST 

/api/v1/WebsiteUri

Adds a URL rule that tells the system which pages belong to a website.

Permission required: Admin role.

Values for matchType: -1 = All, 0 = Domain, 1 = Exact, 2 = Never, 3 = StartsWith, 4 = Regex, 5 = Host.

Values for match: -1 = All, 0 = Domain, 1 = Exact, 2 = Never, 3 = StartsWith, 4 = Regex, 5 = Host.

Request​

Responses​

The body is the created URL rule.