POST update group
Updates an existing group. The only field that can be updated is the group name (GroupName parameter).
Resource URL:
https://api.priotice.se/rest/{auth}/group/update
POST parameters:
Variable name (case sensitive) |
Required | Variable type | Note |
---|---|---|---|
GroupID | Required | integer | Group identifier (GroupID parameter) |
GroupName | Required | string | Group name |
Data returned:
If will return a success status along with the GroupID of the group that was updated if the operation was successful. Else, it will return an error code.
Example request
POST https://api.priotice.se/rest/d41d8cd98f00b204e9800998ecf8427e/group/update
Example response:
{ "Status": "success", "Data": { "GroupID": 62 } }
CURL example:
curl --data "GroupID=1071&GroupName=Group%20updated%20from%20API" https://api.priotice.se/rest/d41d8cd98f00b204e9800998ecf8427e/group/update