Can’t update redirect status via api
-
I’m trying to use the REST API to disable a redirect. It seems like I can do everything else (for example, updating the title works fine) but for some reason ‘Status’ wont update. This is the post request im sending (which according to the docs, looks correct?) I’ve also tried doing “Enabled”: false – instead of status disabled.
{ "status": "disabled", "match_data": { "source": { "flag_regex": false, "flag_query": "exact", "flag_case": true, "flag_trailing": true } }, "regex": false, "url": "/blog/post/", "match_url": "/blog/post/", "match_type": "url", "title": "Updating redirect from api", "group_id": 1, "action_type": "url", "action_code": 301, "action_data": { "url": "/" } }any help would be appreciated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Can’t update redirect status via api’ is closed to new replies.