WordPress

Reset the first administrator's password to a one-time value (shown once); owner/admin only

post/projects/{projectId}/wordpress/admin/reset-password

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/projects/{projectId}/wordpress/admin/reset-password
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

projectIdstring uuid required
Example:3f2b8a4e-5c1d-4e8f-9a7b-2c6d1e0f4a5b

Response

The new password, shown once

userIdinteger required
usernamestring required
passwordstring required

Shown once: it cannot be shown again. Give it to the site owner now.

Changes

No recorded changes to this operation across all 1 revision of this API.