Update Broken Links configuration
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
Request
Response
200 - Broken Links configuration updated
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
200 - Broken Links configuration updated
Edits one Broken Links Checker global configuration. Send only what changes; answers 200 with the configuration document. Accepts PUT as well as PATCH, with the same body; PATCH is the documented method.
Body (JSON), every field optional: name, schedule, check_internal, check_external, check_mixed_content, resource_types, mode, default - the same fields and values as “Create Broken Links configuration” (the response reads default back as is_default).
schedule is replaced whole: when it is sent it carries every field its frequency needs (frequency, start_hour, timezone and the day its frequency asks for); when it is left out the stored one stays.default: true makes it the configuration new websites receive and takes the mark off the previous one; default: false clears it.null or a blank string answers 422.The page cap and exclusions are per website, never here: sending max_pages or excluded answers 422, and so does status - the configuration is always enabled.
Requires a full-access token (read-only tokens answer 403). A configuration of another organization answers 404.