PUT
/integration/v1/groups/{group_id}
Update account group
Update account group
operationId Update account group
Parámetros de ruta
| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
group_id
|
string | obligatorio | Parámetro de ruta: group_id |
Cuerpo de la solicitud
Content-Type: application/json
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
group_id
|
string (uuid) | obligatorio | Group id |
name
|
string | opcional | Group by name |
parent_id
|
string (uuid) | opcional | Parent group id |
user_ids_to_add
|
array | opcional | User ids to add to group |
user_ids_to_add
|
string (uuid) | opcional | |
user_ids_to_remove
|
array | opcional | User ids to remove from group |
user_ids_to_remove
|
string (uuid) | opcional |
Respuestas
200
Cuerpo de application/json
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
changes
|
object | opcional | Updated fields: parent_id and name |
name
|
string | opcional | New group name |
parent_id
|
string | opcional | New group parent id |
added
|
array | opcional | Array of added user ids |
added
|
string (uuid) | opcional | |
removed
|
array | opcional | Array of removed user ids |
removed
|
string (uuid) | opcional | |
message
|
string | opcional | Response message in case of error |
412 Invalid parameters
500 Server error
512 Specification violations