Set a password with a one-time link
POST
Sets the person’s password through their invite or reset link and signs them in (the session cookie). The link works once. Every other session of the person ends. Recorded as user.password-set (data.via invite or reset) and user.sign-in. A password the rules refuse leaves the link working.
application/vnd.api+json- body
data*application/vnd.api+json- response
meta*curl -X POST 'http://localhost:3000/auth/password/set' \ -H 'Content-Type: application/vnd.api+json' \ -d '{ "data": { "type": "PasswordSet", "attributes": { "token": "string", "password": "string" } }}'Example Response
{ "meta": { "userId": "string" }}