PUT api/v1/addressbook/groups/{groupID}
This method updates the group name of the group provided. The system will check that the new name does not already exist for the account.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| groupID |
The group to be modified |
globally unique identifier |
Required |
Body Parameters
Either xml or json request.
Group| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupName |
The name of the group. |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"GroupName": "sample string 1",
"GroupID": "f81658de-2d81-4e27-b8f5-c6f890b0768c"
}
application/xml, text/xml
Sample:
<Group xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <GroupName>sample string 1</GroupName> <GroupID>f81658de-2d81-4e27-b8f5-c6f890b0768c</GroupID> </Group>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | Error |
None. |
|
| ResponseData | ResponseDataOfGroup |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": {
"ErrorCode": "sample string 1",
"ErrorReason": "sample string 2"
},
"ResponseData": {
"Identification": {
"UserId": "sample string 1"
},
"Result": "sample string 1",
"Detail": {
"GroupName": "sample string 1",
"GroupID": "ed76bb11-95e0-4a9a-93ed-a6e1fc796f3d"
}
}
}
application/xml, text/xml
Sample:
<ResponseOfGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Error>
<ErrorCode>sample string 1</ErrorCode>
<ErrorReason>sample string 2</ErrorReason>
</Error>
<ResponseData>
<Result>sample string 1</Result>
<Identification>
<UserId>sample string 1</UserId>
</Identification>
<Detail>
<GroupName>sample string 1</GroupName>
<GroupID>ed76bb11-95e0-4a9a-93ed-a6e1fc796f3d</GroupID>
</Detail>
</ResponseData>
</ResponseOfGroup>