Autional Autional
API Reference GitHub autional.com →

POST /admin/users/{user_id}/password-resets

Admin triggers password reset process for a specified user

Authentication `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
user_id path string Yes User ID

Request Body

Schema: dto.HTTPResetPasswordRequest

FieldTypeRequiredExampleConstraintsDescription
new_password string Yes length: 8–? New password
reset_token string Yes Reset token
force_change boolean No Force user to change password on next login

Responses

StatusDescriptionSchema
200Reset successfuldto.SimpleResponseWrapper

Referenced Schemas

dto.SimpleResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No