PUT /API/ContactGroups/Update/

Basic Intro

Using the HTTP header PUT will add or update a new contact group. You can update by ensuring you provide a ContactID within the form data. The data sent should be in x-www-form-urlencoded format.

Accepted Data
Example Request

The following request would change the contact group name for the ContactID 2314 to "My Contact Group".

curl -H "API: [API Key]" -H "Username: [Username]"  -d "ContactID=2&GroupName=My+Contact+Group" -X PUT https://app.statuscake.com/API/ContactGroups/Update/

Example Output

The output is returned as a json array

    "Issues": [], // An array of human readable reasons
    "Success": false, // True or False if Success
    "Message": "Required Data is Missing." // A Human Readable Reason