Zum Inhalt springen

Inicia a recuperação de senha

POST/api/auth/recovery-password

Auth
Öffentlich
X-CommunityId
X-CommunityId Sende die X-CommunityId der Community, in der die Operation stattfindet.
Die Beschreibungen der Endpoints stammen aus der API-Spezifikation und sind vorerst auf Portugiesisch. Die Oberfläche drumherum ist übersetzt.

Dispara o email de recuperação. Responde sucesso mesmo quando o email não existe, de propósito — não revela quais emails estão cadastrados.

Header

NameTypBeschreibung
X-CommunityIdoptionalstring (uuid)ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade.

Request-Body application/json

NameTypBeschreibung
emailPflichtstring (email)

Antworten

StatusBeschreibung
200Solicitação registrada (resposta idêntica para email existente ou não).
400Requisição inválida — falha de validação.

curl-Beispiel

curl -X POST "https://api.memberfy.net/api/auth/recovery-password" \
  -H "X-CommunityId: $COMMUNITY_ID" \
  -H "Content-Type: application/json" \
  -d '{"email":"[email protected]"}'