Updates a specified group.
Try it now
Test
RAM authorization
Request syntax
POST /v2/group/update HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| domain_id |
string |
Yes |
|
|
| body |
object |
No |
The request body. |
|
| group_id |
string |
Yes |
The ID of the group to update. |
2e43ec8427dd45f19431b7504649a1b4 |
| group_name |
string |
No |
The new name of the group. |
test group |
| description |
string |
No |
The new description of the group. |
test group description |
Response elements
|
Element |
Type |
Description |
Example |
| Group |
The updated group information. |
Examples
Success response
JSON format
{
"domain_id": "bj1",
"group_id": "b45c0c0c373c41ec9ebb5c85a025a08f",
"group_name": "test group",
"description": "created by system",
"created_at": 0,
"updated_at": 0,
"creator": "c9b7a5aa04d14ae3867fdc886fa01da4",
"is_sync": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.