Skip to main content

Update a website URL rule

PUT 

/api/v1/WebsiteUri

Updates an existing URL rule of a website. Send the full rule, including its ID.

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 updated URL rule.