Redirects
Update Redirect
Update a redirect rule.
patch/redirects/{id}
Request
- Base URLhttps://inblog.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Redirect ID
Request body
Example request
{
"jsonapi": {
"version": "1.0"
}
}Response
Redirect updated successfully
Example response
{
"jsonapi": {
"version": "1.0"
},
"data": {
"type": "redirects",
"attributes": {
"from_path": "/old-post",
"to_path": "/new-post",
"redirect_type": 307
}
}
}Changes
No recorded changes to this operation across all 4 revisions of this API.