Chuyển đến nội dung chính
POST
https://platform.verolabs.co
/
api
/
auth
/
recovery
/
reset-password
Đặt lại mật khẩu đã khôi phục
curl --request POST \
  --url https://platform.verolabs.co/api/auth/recovery/reset-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "<string>"
}
'
{
  "sessionToken": "<string>",
  "jwt": "<string>",
  "session": {
    "id": "<string>",
    "active": true,
    "authenticated_at": "2023-11-07T05:31:56Z",
    "expires_at": "2023-11-07T05:31:56Z",
    "devices": [
      {
        "ip_address": "<string>",
        "location": "<string>",
        "user_agent": "<string>"
      }
    ],
    "identity": {
      "id": "<string>",
      "traits": {}
    },
    "tokenized": "<string>"
  },
  "tokenizedSession": {
    "id": "<string>",
    "active": true,
    "authenticated_at": "2023-11-07T05:31:56Z",
    "expires_at": "2023-11-07T05:31:56Z",
    "devices": [
      {
        "ip_address": "<string>",
        "location": "<string>",
        "user_agent": "<string>"
      }
    ],
    "identity": {
      "id": "<string>",
      "traits": {}
    },
    "tokenized": "<string>"
  },
  "identity": {
    "id": "<string>",
    "traits": {}
  }
}

Nội dung

application/json

Mật khẩu mới của tài khoản.

Yêu cầu đặt mật khẩu mới sau khi xác minh mã khôi phục.

password
string
bắt buộc

Mật khẩu mới của tài khoản Vero OMS.

Minimum string length: 1

Phản hồi

Mật khẩu đã được đặt lại và phiên đang hoạt động

AuthLoginResponse schema.

sessionToken
string
bắt buộc

Session token returned after authentication. Store it securely for session refresh and logout.

jwt
string
bắt buộc

Bearer JWT returned for REST API calls.

session
object
bắt buộc

Session object. The tokenized field is the Bearer JWT used for API calls.

tokenizedSession
object
bắt buộc

Session object. The tokenized field is the Bearer JWT used for API calls.

identity
object

Account identity returned by the authenticated session.