Añadir usuarios
Changed onEste método permite añadir múltiples usuarios a la cuenta.
Request
- Base URLhttps://subdominio.kommo.com
- URLhttps://subdominio.kommo.com/api/v4/users
- AuthOAuth 2
Headers
Request body
Response
Created
Example response
{
"_total_items": 1,
"_embedded": {
"users": [
{
"id": 6029791,
"name": "testUser",
"email": "user_add-test@example.com",
"lang": "en",
"rights": {
"leads": {
"view": "A",
"edit": "A",
"add": "A",
"delete": "A",
"export": "D"
},
"contacts": {
"view": "A",
"edit": "A",
"add": "A",
"delete": "A",
"export": "D"
},
"companies": {
"view": "A",
"edit": "A",
"add": "A",
"delete": "A",
"export": "D"
},
"tasks": {
"edit": "A",
"delete": "A"
},
"status_rights": [
{
"entity_type": "leads",
"pipeline_id": 2020444,
"status_id": 29652544,
"rights": {
"view": "D",
"edit": "D",
"delete": "D"
}
}
],
"is_active": true
},
"request_id": "1",
"_links": {
"self": {
"href": "https://test.kommo.com/api/v4/users/6029791"
}
}
}
]
}
}Changes
- breaking
request property
//was restricted to a list of enum values - warning
removed the request property
/// - info
added the new
enenum value to the request property// - info
added the new
esenum value to the request property// - info
added the new
idenum value to the request property// - info
added the new
ptenum value to the request property// - info
added the new
ruenum value to the request property// - info
added the new
trenum value to the request property// - info
the
///request property format was generalized fromint32to no format - info
the
///request property format was generalized fromint32to no format - info
media type
application/jsonwas changed to a more specific media typeapplication/hal+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status
- breaking