This API request enables the operator to update the password of the player in DG system.
UpdatePassword() Request
Type | Input |
---|---|
HTTP Method | POST |
API URL | https://<API_BASE_URL>/player/update-password/ |
Headers | "Content-Type": "application/json" |
POST Parameters | json object e.g.: { |
Parameters | Type | Description |
---|---|---|
api_key | String | API Key allocated to each front-end |
username | String | Username of the player |
password | String | Player’s current password |
new_password | String | Player’s new password |
UpdatePassword() Response + Example
Response would be in JSON format. Type: dictionary.
{
"result": {"status": "success"
}
}
Object/Key in Response Object | Type | Description |
---|---|---|
result | JSON Object | Key result contains the JSON object as value. |
status | String | Response status |