Skip to main content
POST
Create WP admin user

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"

Body

application/json
email
string<email>
required

Email address of the new WordPress administrator user.

first_name
string
required

First name of the new user.

Example:

"John"

last_name
string
required

Last name of the new user.

Example:

"Doe"

Response

Result of the user creation in create_wp_admin_user, true when the user was created.

create_wp_admin_user
boolean
required

true when the user was created.

Example:

true