Update a redirect rule
Updates an existing redirect rule. Only include the fields you wish to update.
If fromUrl is provided, it will be re-normalized and validated against the Help Center's custom domain. If targetType or targetId is changed, the new target must exist and have a resolvable URL.
Path Parameters
id- The unique identifier of the redirect rule to update
Request Body
All fields are optional. Only provided fields will be updated:
helpCenterId- The help center IDlocale- Locale codefromUrl- Updated source URL (will be re-normalized)targetType- "article" or "collection"targetId- ID of the new target article or collection
Response
Returns the updated redirect rule object.
Errors
404- Redirect rule not found400- Invalid data, domain mismatch, duplicate fromUrl, or target not found
Body
Full absolute URL to redirect from. Must use http or https protocol. Query parameters and hash fragments are stripped during normalization. The hostname must match the Help Center custom domain.
2048https://help.example.com/en/old/getting-startedHelp center identifier
1 - 16^[a-zA-Z0-9]+$ox6qrqprmsuqaunjLocale code for the redirect rule
ar, am, fa, ht, lo, my, pa, ps, so, tl, ur, he, ta, te, mr, gu, kn, ml, ha, jv, yo, ig, uz, ne, sd, az, si, km, kk, bn, bs, pt-BR, bg, ca, hr, cs, da, nl, en, et, fi, fr, de, el, hi, hu, id, it, ja, ko, lv, lt, ms, mn, nb, pl, pt, ro, ru, sr, zh-CN, sk, sl, es, sw, sv, th, zh-TW, tr, uk, vienID of the target article or collection
1 - 16^[a-zA-Z0-9]+$10021362Response
Success
Canonical source URL being redirected from (query and hash stripped)
https://help.example.com/en/old/getting-startedLocale code for the redirect rule
ar, am, fa, ht, lo, my, pa, ps, so, tl, ur, he, ta, te, mr, gu, kn, ml, ha, jv, yo, ig, uz, ne, sd, az, si, km, kk, bn, bs, pt-BR, bg, ca, hr, cs, da, nl, en, et, fi, fr, de, el, hi, hu, id, it, ja, ko, lv, lt, ms, mn, nb, pl, pt, ro, ru, sr, zh-CN, sk, sl, es, sw, sv, th, zh-TW, tr, uk, vienObject type identifier
redirect_ruleredirect_ruleType of content the redirect points to
article, collectionarticleMore in Help Centers
GETList help centersGETGet a help center by IDGETList collectionsPOSTCreate a collectionStill need help? Ask the team