PUT
/integration/v1/groups/{group_id}
Update account group
Update account group
operationId Update account group
معلمات المسار
| الاسم | النوع | الإلزامية | الوصف |
|---|---|---|---|
group_id
|
string | مطلوب | معلمة المسار: group_id |
نص الطلب
Content-Type: application/json
| الحقل | النوع | الإلزامية | الوصف |
|---|---|---|---|
group_id
|
string (uuid) | مطلوب | Group id |
name
|
string | اختياري | Group by name |
parent_id
|
string (uuid) | اختياري | Parent group id |
user_ids_to_add
|
array | اختياري | User ids to add to group |
user_ids_to_add
|
string (uuid) | اختياري | |
user_ids_to_remove
|
array | اختياري | User ids to remove from group |
user_ids_to_remove
|
string (uuid) | اختياري |
الاستجابات
200
نص application/json
| الحقل | النوع | الإلزامية | الوصف |
|---|---|---|---|
changes
|
object | اختياري | Updated fields: parent_id and name |
name
|
string | اختياري | New group name |
parent_id
|
string | اختياري | New group parent id |
added
|
array | اختياري | Array of added user ids |
added
|
string (uuid) | اختياري | |
removed
|
array | اختياري | Array of removed user ids |
removed
|
string (uuid) | اختياري | |
message
|
string | اختياري | Response message in case of error |
412 Invalid parameters
500 Server error
512 Specification violations