7.2.1.15. User Profile API¶
Endpoints¶
POST |
Change password |
|
GET |
Get Current Token |
|
DELETE |
Delete current Token |
- POST /api/user_profile/set_password¶
Change password.
Since: 6.9.7
Allows a user to change the password
- Request Body:
Body Type:
ChangePasswordForm
- Status Codes:
204 No Content – Successful response
- GET /api/user_profile/current_token¶
Get Current Token.
Since: 7.1.0
Get Info about the API token used by the current request.
In the Python API this functionality is provided by
axivion.dashboard.Dashboard.get_current_api_token().- Status Codes:
200 OK –
Body Type:
ApiTokenInfoSuccessful response
- DELETE /api/user_profile/current_token¶
Delete current Token.
Since: 7.1.0
Delete the API Token used by the current request.
In the Python API this functionality is provided by
axivion.dashboard.Dashboard.delete_current_api_token().- Status Codes:
204 No Content – Successful response
Types¶
Request data for changing a user password |
- ChangePasswordForm¶
Request data for changing a user password.
- Properties:
currentPassword (string) The current password
newPassword (string) The new password