Reset password using a reset token
POST
/api/v1/auth/reset-password
const url = 'https://dashboard.justcrawl.io/api/v1/auth/reset-password';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"token":"example","password":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.justcrawl.io/api/v1/auth/reset-password \ --header 'Content-Type: application/json' \ --data '{ "token": "example", "password": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
token
required
string
password
required
string
Example generated
{ "token": "example", "password": "example"}Responses
Section titled “ Responses ”Password reset; all refresh tokens revoked
Invalid token or password