I need to create users with custom attributes that have already been created in user interface.
In other words, in addition to the basic fields that the documentation shows, I can create them with my own additional fields. How could you do it?
{
“action”: “create”,
“user_info”:{
“first_name”: “PABLO”,
“last_name”: “ANDRES”,
“email”: “pablovaldes@email.com”,
“type”: 1,
“password”: “pass2020”
}
}
what is required
{
“action”: “create”,
“user_info”:{
“first_name”: “PABLO”,
“last_name”: “ANDRES”,
“email”: “pablovaldes@email.com”,
“type”: 1,
“password”: “pass2020” ,
“custom_attributes”: [
{
"name": "SAM",
"value": "aqui_text_campo_personalizado"
},
{
"name": "ROLE",
"value": "aqui_text_campo_personalizado"
},
{
"name": "JORNADA",
"value": "aqui_text_campo_personalizado"
},
{
"name": "SEDE",
"value": "aqui_text_campo_personalizado"
},
{
"name": "RUT",
"value": "aqui_text_campo_personalizado"
}
]
}
}