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
What the Plugin Actually Does
When you click Unlink Site, the plugin:- attempts to notify the Watchman Tower unlink endpoint
- clears the local pairing state
- clears the local scheduler state
- returns the admin UI to a disconnected state
tokenagent_jwthmac_secretsite_idconnectedlast_errorlast_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: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
