curl --request POST \
--url https://api.comm.com/api/v1/reset-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"token": "<string>",
"email": "jsmith@example.com",
"password": "<string>",
"password_confirmation": "<string>"
}'
{
"status": "<string>"
}
curl --request POST \
--url https://api.comm.com/api/v1/reset-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"token": "<string>",
"email": "jsmith@example.com",
"password": "<string>",
"password_confirmation": "<string>"
}'
{
"status": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.