Make a password reset link for a member
POST
consoleSessioncookie
vg_session<token>The console's session cookie, set when you sign in. Every operation accepts it, at the role the operation names.
orgId*stringAuthorised orgId; the server must verify organisation/project ownership before any read.
Length
1 <= lengthuserId*stringA member's user id; one outside the named organisation is not_found.
Length
1 <= lengthThe reset link's expiry, and the link when SMTP is not set.
application/json- response
link*|Format
uriexpiresAt*stringWhen the link stops working, 24 hours after it was made.
Format
date-timeemailed*booleanTrue when the email was sent; false without SMTP, or when the send failed.
Example Request
curl -X POST 'https://example.com/api/v1/org/string/members/string/password-reset'Example Response
{ "link": "http://example.com", "expiresAt": "2019-08-24T14:15:22Z", "emailed": true}Was this page helpful?