I deleted a connection and with it also all user related to it also were deleted. I try to restore users by creating them via Postman with same ids
{
"user_id": "sms|627fa64b9cd59005b0225c40",
"given_name": "Анна",
"family_name": "Ромушко",
"phone_number": "+380638916323",
"app_metadata": {
"documentsUploaded": true,
"documentsChecked": true,
"ownerId": "google-oauth2|102304051984257672435",
"accessibleBrands": [
"E052Pr5zGiDxeemi1eMoP",
"KaaruemwT8hVcVvD8n7be",
"5nJpqUuCB6OLValrMB3mc4",
"1uKBA11cjoiv5mNjrUM4JE"
]
},
"user_metadata": {
"middleName": "Алексеевна",
"preferredDeliverySettlementId": "e717110a-4b33-11e4-ab6d-005056801329"
},
"connection": "sms"
}
but I always get this response:
{
"statusCode": 400,
"error": "Bad Request",
"message": "\"user_id\" is not allowed",
"errorCode": "invalid_body"
}
Documentation says that user_id is optional property in body when creating a new user.
It is very important to create user with specific user_id. What I am doing wrong?
P.S. I also tried to create user with random user_id but it also returns same response