Update a website's Broken Links Checker settings
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(enabledordisabled, 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 aspage,postorproduct, max 50 characters each.
Errors
- 404:
presetbelongs 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
scheduleis 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
site_preset_broken_link
Query parameters
include
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.
excluded
max_pages
status
Response
200 - Broken Links service updated
data
included
jsonapi
Errors
422
Unprocessable Entity Error
