hosting
POST /v1/sites/{siteId}/application-access/reset-password
Reset the administrator password of the application installed on a site.
Authentication
Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/sites/{siteId}/application-access/reset-password \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Sets a new administrator password on the site's application and returns it once (no-store). Offered where can_reset_password on getSiteApplicationAccess is true (Joomla, Drupal, Magento, PrestaShop and Nextcloud today). The new password is the site's derived administrator password at the next rotation epoch, so it is never stored, and revealSiteApplicationPassword shows it again afterwards. It is set on the server by the application's own password routine and checked there by its own verifier before the epoch moves, so the panel never shows a password the site refuses. A reset replaces a password the customer set themselves: is_custom becomes false. The administrator is the one getSiteApplicationAccess names as username. Requires sites.view and sites.panel_access in the site's organisation. Each reset is audit-logged as site.application_password_reset with the real actor (the password is never in it). Refusals carry a code in details[].code (field site): APP_PASSWORD_RESET_UNSUPPORTED (409), SITE_NOT_SERVING (409), ADMIN_NOT_FOUND (409, no administrator of that name on the site, for example it was renamed), PLATFORM_CANNOT_RESET (422), PASSWORD_UNAVAILABLE or RESET_FAILED (503, the reset never reached the server; the old password still works), RESET_UNCONFIRMED (503, the reset reached the server and no confirmed answer came back, so the site may have the new password; retrying sets the same password); none of them writes an audit row.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
siteId (path) | Uuid | Yes | Site ID (UUIDv7). |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
password | string | Yes | — |
Errors this endpoint can return
401 · 403 · 404 · 409 · 422 · 429 · 503