Unable to Resync Couchbase 8 database

Hello,
I’m working on trying to resync my database with a new sync function.
On the old Couchbase, I would simply ping the endpoint

syncgatewayurl:4985/mydatabase/_offline
syncgatewayurl:4985/mydatabase/_resync
syncgatewayurl:4985/mydatabase/_online

However, I’m following the instructions for the new way to resync Couchbase 8 servers and it simply does not seem to be working.

I’m trying to follow the instructions here:

It says to take the database offline using: PUT /{db}/_config with {”offline”: true}
It I’m using the url for my sync gateway: syncgatewayurl:4985/mydatabase/_config

However, I get:

{
“error”: “not_found”,
“reason”: “unknown URL”
}

This happens for _resync as well.

If I simply send a post to syncgatewayurl:4985/mydatabase, I get the following response:

{
“db_name”: “mydatabase”,
“update_seq”: 4146293,
“committed_update_seq”: 4146293,
“instance_start_time”: 1770025410901886,
“compact_running”: false,
“purge_seq”: 0,
“disk_format_version”: 0,
“state”: “Online”,
“server_uuid”: “ad2baa518481259d5b3ad03ed7aec763”
}

So I know my sync gateway url is working correctly. But the _config and _resync endpoints do don’t seem to be found.

Ideas? Not sure how to proceed.