Update a redirect

Updates a redirect's source path, target URL, status code, or options.

Required permissions
redirects.update
PUT/redirects/{id}
Base URLhttps://api.lynkow.com/v1

Path parameters

id
string
required

Unique identifier

Request body
required

  • note
    string

    Max 500 characters

  • isRegex
    boolean

    Boolean

  • isActive
    boolean

    Boolean

  • sourcePath
    string

    1-2048 characters

  • statusCode
    enum

    One of: 301, 302, 307, 308

    One of: 301302307308

  • targetPath
    string

    1-2048 characters

  • preserveQueryString
    boolean

    Boolean

Feedback

Was this page helpful?