Update Group
curl --request PUT \
--url https://api.example.com/api/v2/Group \
--header 'Content-Type: application/json' \
--data '
{
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
'import requests
url = "https://api.example.com/api/v2/Group"
payload = {
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({GroupName: '<string>', ApiKey: '<string>', ClientId: '<string>'})
};
fetch('https://api.example.com/api/v2/Group', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ErrorCode": 123,
"ErrorDescription": "<string>",
"Data": "<string>"
}Group Management
Update Group
Update an existing contact group
Update Group
curl --request PUT \
--url https://api.example.com/api/v2/Group \
--header 'Content-Type: application/json' \
--data '
{
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
'import requests
url = "https://api.example.com/api/v2/Group"
payload = {
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({GroupName: '<string>', ApiKey: '<string>', ClientId: '<string>'})
};
fetch('https://api.example.com/api/v2/Group', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ErrorCode": 123,
"ErrorDescription": "<string>",
"Data": "<string>"
}Update Group
Update the name of an existing contact group.curl -X PUT "https://app.notify.ng/api/v2/Group?id=33" \
-H "Content-Type: application/json" \
-d '{
"GroupName": "Updated Group Name",
"ApiKey": "YOUR_API_KEY",
"ClientId": "YOUR_CLIENT_ID"
}'
const response = await fetch('https://app.notify.ng/api/v2/Group?id=33', {
method: 'PUT',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
GroupName: 'Updated Group Name',
ApiKey: 'YOUR_API_KEY',
ClientId: 'YOUR_CLIENT_ID'
})
});
const data = await response.json();
console.log(data);
import requests
url = "https://app.notify.ng/api/v2/Group?id=33"
data = {
"GroupName": "Updated Group Name",
"ApiKey": "YOUR_API_KEY",
"ClientId": "YOUR_CLIENT_ID"
}
response = requests.put(url, json=data)
result = response.json()
print(result)
Parameters
Request Body
Response
Success Response
{
"ErrorCode": 0,
"ErrorDescription": "Success",
"Data": "Group updated Successfully."
}
Use Cases
- Group maintenance: Update group names for better organization
- Rebranding: Change group names to match new business requirements
- Integration sync: Update groups to match external system changes

