You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
Some sites may have disabled the Jetpack JSON API module, meaning that we can't search their users for purposes of user removal:
markd@MBP14 team51-cli % BEARER='[REDACTED_TOKEN]'; curl -sH 'Accept: application/json' -H 'Authorization: Bearer '$BEARER 'https://public-api.wordpress.com/rest/v1.1/sites/[REDACTED_BLOG_ID]/users/?search=[REDACTED_EMAIL_ADDRESS]&search_columns=user_email&fields=ID,email,site_ID,URL' 2>/dev/null | jq .
{
"error": "unauthorized",
"message": "API calls to this blog have been disabled."
}
In an ideal world, when we receive this response, we would alert the CLI user which site(s) have been skipped so that they can manually process removals.