Skip to content

Send User Password Reset

POST
/api/v1/users/{sub}/password-reset
curl --request POST \
--url https://api.spartanauth.com/api/v1/users/example/password-reset \
--header 'Content-Type: application/json' \
--data '{ "sectorID": "example" }'

Sends the sector’s password reset email to a user. Requires an admin of the user’s sector or the tenant root.

sub
required
string
Media type application/json
object
sectorID
string
Example generated
{
"sectorID": "example"
}

A successful response.

Media type application/json
object
status
string
message
string
Example generated
{
"status": "example",
"message": "example"
}

An unexpected error response.

Media type application/json
object
code
integer format: int32
message
string
details
Array<object>
object
@type
string
key
additional properties
Example generated
{
"code": 1,
"message": "example",
"details": [
{
"@type": "example"
}
]
}