Issue Sign In Link
POST/v1/users/:user_id/sign-in-link
Issue a one-time sign-in link for a member, to hand to them yourself.
For a member who cannot receive an invitation or a password-reset email. On the link they choose a new password and are signed in; their earlier sessions end. The link opens once, lasts 24 hours, and replaces any link issued before it, an emailed invitation included. It is returned in this response only: only its hash is stored, so it cannot be read again.
Account admins only. Refusals: 404 for someone who is not a member of this account; 409 for your own row (change your own password from your profile) and for a member who also belongs to another account (their password is theirs to reset, from the sign-in page); 403 for an admin's row when the caller is an API key rather than a signed-in admin, and 403 for the in-app assistant, which is never handed a sign-in link: there the admin creates it on the members screen.
Request
Responses
- 200
- 422
Successful Response
Validation Error