ReferenceAPIAccess Service
Create password link
A one-use link for a user to set their password, which replaces the user's previous link. The user needs an email to sign in with.
POST
A one-use link for a user to set their password, which replaces the user's previous link. The user needs an email to sign in with.
principal*stringThe principal id.
application/json- body
name?stringprincipals/{principal}
expireTime?stringUnset: in 24 hours. At most 7 days ahead.
Format
date-timeOK
application/json- response
url?string{public URL}/set-password#{token}. The API never returns it again.
expireTime?stringFormat
date-timecurl -X POST 'http://localhost:8080/v1/principals/string:passwordLink' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "url": "string", "expireTime": "2019-08-24T14:15:22Z"}