Skip to content

Sites

WordPress sites on your servers: create, sign in, tools, and delete. For the same in the control panel, see Add a WordPress site.

Operations

OperationRequest
List sites GET /v1/sites
Create a site POST /v1/sites
Get a site GET /v1/sites/{siteId}
Delete a site DELETE /v1/sites/{siteId}
Retry a failed site install POST /v1/sites/{siteId}/actions/retry-install
Get the site's WordPress login GET /v1/sites/{siteId}/wordpress-login
Purge a site's cache POST /v1/sites/{siteId}/actions/purge-cache
Reset the WordPress administrator's password POST /v1/sites/{siteId}/actions/reset-admin-password
Ask for the site's SSL certificate again POST /v1/sites/{siteId}/actions/reissue-ssl

The WordPressLogin object

The WordPress administrator made with the site, with its password. Changing the password inside WordPress isn't seen here.

FieldType and description
username

string

The WordPress administrator's username.

email

string

The administrator's email address.

password

string or null

The administrator's password as Rabbitflare set it. Null when it can't be read (reset it to get a new one).

Example

The WordPressLogin object
{
  "username": "editor",
  "email": "[email protected]",
  "password": "kV9#wq2Lx7!pRz4m"
}

Shared objects

Operations of other groups answer with these too, so each has a page of its own.

The Site object
A WordPress site on one of your servers.
The ToolResult object
The answer of a tool that ran: what it did.

Popular

API docs