UpdateContactGroup
Updates a contact group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:UpdateContactGroup |
update |
*ContactGroup
|
None | None |
Request syntax
PATCH /contactGroup/{contactGroupId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| contactGroupId |
string |
Yes |
The unique identifier of the contact group. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| contacts |
array |
No |
The contact IDs. |
|
|
string |
No |
The contact IDs. |
test |
|
| name |
string |
No |
The name of the contact. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| requestId |
string |
The unique ID of the request, used for log tracing and troubleshooting. |
8FDE2569-626B-5176-9844-28877A***** |
Examples
Success response
JSON format
{
"requestId": "8FDE2569-626B-5176-9844-28877A*****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | %s is missing or invalid. | The parameter %s is missing or invalid. |
| 400 | InvalidParameterValue | Invalid request: %s | |
| 500 | InternalUnknownError | The request processing has failed due to some unknown error. | A service runtime error occurred. |
| 404 | ResourceNotFound | The specified resource %s is not found. | The specified resource% s does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.