Issue site login link

View as MarkdownOpen in Claude
Issues a single-use WordPress login link for the website's default WordPress user. The link is valid for 10 minutes; open `data.attributes.login_url` in a browser to sign in. A successful login is audited. Requires a token with the write ability. Path variables: - `site` (integer): the website id, e.g. `123`. The returned URL points to a signed, browser-only redirect route and is not meant to be called directly from Postman. Errors: 400 when the website is not connected, 400 when the website has no WordPress user synced, 403 for a read-only token, 404 when the caller has no permission for the website or it does not exist, 503 when Modular DS could not issue the link right now because its single-use token store is unavailable - retry in a moment.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

sitestringRequired

Response

200 - Login link issued

jsonapiobjectOptional
metaobjectOptional

Errors

403
Forbidden Error
404
Not Found Error