User Management

Generate login link and token for a user by ID

Generate a login link with a token for a user based on the provided user <strong>{id}</strong>. <br> The <strong>{id}</strong> must be an ID of existing user.

post/pimcore-studio/api/user/token-link/{id}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /pimcore-studio/api/user/token-link/{id}
  • Auth: none declared

Path parameters

idinteger required
Example:83

Id of the user

Request body

tokenLoginUrlstring required

Token login URL

Example request

{
  "tokenLoginUrl": "https://example.com/login"
}

Response

Token login link for the user

linkstring required

Token link URL including the generated token as parameter.

Example response

{
  "link": "https://example.com/login?token=abcdef"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.