Update group
Base URL:PATCH: https://api.smsgatewayapi.com/v1/groups/
Parameters:
Parameter | Input | Description | |
---|---|---|---|
Required | client_id | API client ID | Can be found in your api documentation |
Required | client_secret | API client secret | Can be found in your api documentation |
Required | ID | Group ID | Group ID to be modified |
Required | name | Name of the group | The new name of the group |
Example request single:
{ "ID": {ID}, "name": "marketing" }
Example request multiple:
[ { "ID": {ID} "name": "marketing" }, { "ID": {ID}, "name": "production" } ]
If one or more IDs are not found, the API returns a 404 status code and all modifications of the current request are canceled.
Example response single:
{ "ID": {id} }Example response multiple:
{ "IDs": [ {id1}, {id2}, ...] }