Before You Disconnect

Unlinking removes the current pairing between this WordPress site and Watchman Tower. It is best used when:
  • the site is being retired
  • you want to pair it again from scratch
  • the current pairing is no longer valid
For temporary work such as maintenance or migrations, pausing is usually a better fit than unlinking.

What the Plugin Actually Does

When you click Unlink Site, the plugin:
  1. attempts to notify the Watchman Tower unlink endpoint
  2. clears the local pairing state
  3. clears the local scheduler state
  4. returns the admin UI to a disconnected state
The local cleanup clears values such as:
  • token
  • agent_jwt
  • hmac_secret
  • site_id
  • connected
  • last_error
  • last_success

Admin Flow

1

Open the connected plugin screen

Go to Settings -> Watchman Tower.
2

Click Unlink Site

Use the unlink action in the connected view.
3

Wait for the plugin to clear pairing state

On success, the plugin returns to a disconnected flow.

After Unlinking

The plugin shows a disconnected screen with options to:
  • reconnect with a token
  • create a new account
  • go back to the start screen

Verify Local Cleanup

Use WP-CLI to inspect the remaining state:
wp option get wthb_options --format=json
wp option get wthb_instance_id
After unlinking, wthb_options should no longer contain active pairing values such as a valid site_id, hmac_secret, or connected: true.
The instance ID is a local WordPress identifier and is stored separately from the pairing payload.

Reconnecting

To reconnect, simply start a fresh pairing flow from the plugin:
  • use I Already Have an Account with a new register token
  • or use Create New Account and continue through the generated token flow

Next Steps