OpenAPIUsers
Change Self Email
Authorization
OAuth2PasswordBearer AuthorizationBearer <token>
In: header
Request Body
application/json
email*string
Format
emailResponse Body
application/json
application/json
curl -X POST "https://app.otascribe.ru/api/api/users/change_email" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }'{
"login": "string",
"telegram_id": 0,
"available_seconds": 0,
"user_role_id": 0,
"user_role_name": "string",
"user_access_level": 0,
"profile_info": {
"first_name": "string",
"middle_name": "string",
"last_name": "string",
"full_name": "string"
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}