API v2: UAG - Account Password History πŸ†•ΒΆ


List Password History EntriesΒΆ

Request

Method

GET

Path

/api/v2/account/<account_id>/secret_history

GET /api/v2/account/<account_id>/secret_history

Example Request

curl -s -k -X GET \
  -H 'Authorization: proxycrypto' \
  "https://10.31.116.196/api/v2/account/8169529724050079750/secret_history?filter=created_at.ge(2025-05-08T00:00:00Z),created_at.le(2025-07-08T23:59:59Z)"

Response

{
    "items": [
        {
            "visible": true,
            "created_at": "2025-07-03T14:16:26.809242Z",
            "id": "4188347653454561300"
        },
        {
            "visible": true,
            "created_at": "2025-07-03T14:13:06.133029Z",
            "id": "4188347653454561299"
        },
        {
            "visible": true,
            "created_at": "2025-07-03T13:57:27.193281Z",
            "id": "4188347653454561282"
        }
    ],
    "result": "success"
}

Get Specific Historical Secret ValueΒΆ

Warning

This endpoint returns the historical password value in plain text. Access to this endpoint should be strictly controlled and limited to authorized users only.

Request

Method

GET

Path

/api/v2/account/<account_id>/secret_history/<account_secret_id>

GET /api/v2/account/<account_id>/secret_history/<account_secret_id>

Example Request

curl -s -k -X GET \
  -H 'Authorization: proxycrypto' \
  "https://10.31.116.196/api/v2/account/8169529724050079750/secret_history/4188347653454561300"

Response

{
    "pwd": "Secret",
    "result": "success"
}