API v2: UAG - Change Password πΒΆ
Data StructuresΒΆ
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Change password state. |
|
|
string |
yes |
Old or new password depending on state or prompt. |
Retrieve Available Attributes of the ChangePasswordModelΒΆ
Request
Method |
|
Path |
|
GET /api/v2/objspec/change_password
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/objspec/change_password'
Change PasswordΒΆ
Request
Method |
|
Path |
|
Headers |
|
Body |
|
POST /api/v2/change-password
Example Request
curl -s -k -X POST \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
-H 'Content-Type: application/json' \
https://10.0.0.1/api/v2/change-password \
-d '{"password": "new-password"}'
Response
{
"result": "success"
}