Skip to navigation

Update a website's Broken Links Checker settings

View as MarkdownOpen in Claude

Changes how one website is checked for broken links. Send only the fields you want to change, and at least one.

A field you send must carry a value: an explicit null or a blank string answers 422, like omitting it.

Body

  • status (enabled or disabled, optional): turns automatic scans on or pauses them. A paused website can still be scanned on demand.
  • preset (integer, optional): id of another Broken Links Checker global configuration to move the website to. The website takes that configuration’s schedule and keeps its status.
  • max_pages (integer, optional): the page cap for a scan, 1 to 10000.
  • excluded (object, optional): what discovery leaves out. Each list you send replaces only that list; an empty list clears it.
    • url_patterns (array of strings, optional): URL patterns, max 500 characters each.
    • source_types (array of strings, optional): WordPress content types such as page, post or product, max 50 characters each.

Errors

  • 404: preset belongs to another organization.
  • 422: no field is sent (the message is “Send at least one field to update: status, preset, max_pages or excluded.”), or schedule is sent (the schedule belongs to the global configuration).

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

Query parameters

includestringOptional

Relations to add to the answer: preset (the global configuration the website uses). Without include it is answered; an empty include= answers none. Any other name answers 400.

Request

This endpoint expects an object.
excludedobjectOptional
max_pagesdoubleOptional
statusstringOptional

Response

200 - Broken Links service updated

dataobjectOptional
includedlist of objectsOptional
jsonapiobjectOptional

Errors

422
Unprocessable Entity Error