Files
api/documentation/topics/generated/requestPasswordReset.topic
T

61 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic
SYSTEM "https://resources.jetbrains.com/writerside/1.0/xhtml-entities.dtd">
<topic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/topic.v2.xsd"
title="Request a customer password reset email" id="requestPasswordReset">
<!-- AUTO-GENERATED, DO NOT EDIT -->
<p>This endpoint documentation is generated directly from <code>openapi.yaml</code>.</p>
<chapter title="Endpoint" id="endpoint">
<code-block lang="http">POST /auth/password-reset/request</code-block>
</chapter>
<chapter title="Operation" id="operation">
<p>Operation ID: <code>requestPasswordReset</code></p>
<p>Send an email with a password reset token to the customer&#x27;s email address</p>
</chapter>
<chapter title="Authentication" id="authentication"><p>No authentication required.</p></chapter>
<chapter title="Request Body" id="request-body">
<p>Required: yes.</p>
<p>Content type: <code>application/json</code></p>
<code-block lang="json">
{
&quot;properties&quot;: {
&quot;customer_number&quot;: {
&quot;description&quot;: &quot;The customer number&quot;,
&quot;example&quot;: 123456,
&quot;type&quot;: &quot;integer&quot;
},
&quot;g_recaptcha_response&quot;: {
&quot;description&quot;: &quot;reCAPTCHA verification token&quot;,
&quot;type&quot;: &quot;string&quot;
}
},
&quot;required&quot;: [
&quot;customer_number&quot;,
&quot;g_recaptcha_response&quot;
],
&quot;type&quot;: &quot;object&quot;
}
</code-block>
</chapter>
<chapter title="Responses" id="responses">
<table>
<tr><td>Status</td><td>Description</td><td>Content Types</td></tr>
<tr><td>200</td><td>Request processed</td><td>application/json</td></tr>
<tr><td>400</td><td></td><td></td></tr>
</table>
<p>Schema for response <code>200</code> (<code>application/json</code>):</p>
<code-block lang="json">
{
&quot;properties&quot;: {
&quot;message&quot;: {
&quot;type&quot;: &quot;string&quot;
}
},
&quot;type&quot;: &quot;object&quot;
}
</code-block>
</chapter>
</topic>