![Axis 2N Indoor Touch 2.0 Api Manual Download Page 74](http://html1.mh-extra.com/html/axis/2n-indoor-touch-2-0/2n-indoor-touch-2-0_api-manual_3038317074.webp)
2N TELEKOMUNIKACE a.s., www.2n.cz
74/94
3.9 User and session control
User login
URL:
{{ip_addr}}
https://
/api/v1/login
HTTP method:
PUT
Response code:
Standard HTTP response code, treating syntactic errors.
Request body:
{
"login"
:
"admin"
,
"password"
:
"2n"
}
User logout
URL:
{{ip_addr}}
https://
/api/v1/logout
HTTP method:
PUT
Response code:
Standard HTTP response code, treating syntactic errors.
User settings
URL:
{{ip_addr}}
https://
/api/v1/user
HTTP method:
PUT
Request body:
{
"oldPassword"
:
"2n"
,
"newPassword"
:
"NewPass123"
}
Response code:
Standard HTTP response code, treating syntactic errors.