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
- 200
- 400
The body is the created URL rule.
The rule could not be created.