Skip to main content
GET
Check if WP admin user exists by email

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

env_id
string
required

Environment ID (UUID), the id of an environment in site.environments returned by getSiteEnvironments (GET /sites/{site_id}/environments), or by getSites with include_environments=true.

Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Query Parameters

email
string<email>
required

Email address of the WordPress user to look up.

Response

Whether the WordPress administrator user exists, in has_wp_admin_user. A missing user is reported as false, not as an error.

has_wp_admin_user
boolean
required

true when a WordPress administrator user with the given email exists on the environment.

Example:

true