Make a one-time password reset link for a user (REQ-082). The URL appears one time.
POST
/admin/reset-links
const url = 'https://example.com/api/v1/admin/reset-links';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"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://example.com/api/v1/admin/reset-links \ --header 'Content-Type: application/json' \ --data '{ "email": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string
Examplegenerated
{ "email": "example"}Responses
Section titled “ Responses ”The link.
Media typeapplication/json
object
url
required
string
Examplegenerated
{ "url": "example"}default
Section titled “default”An error.
Media typeapplication/problem+json
RFC 9457 problem details with a stable code.
object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required
A stable machine-readable error code.
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": "example"}