{"_id":"5527296e975eef3700ca805c","category":{"_id":"5527280be69c7d0d00047eaf","version":"54e431e6de9f5b2300fc6dbc","pages":["55273cf2975eef3700ca806a","55274340e69c7d0d00047ebe","552743f0d7ea1c2300e58aaf"],"project":"545a65231d018b1400227d8f","__v":3,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-10T01:31:55.254Z","from_sync":false,"order":7,"slug":"group-api","title":"GROUP API"},"editedParams":true,"editedParams2":true,"project":"545a65231d018b1400227d8f","__v":0,"user":"545a64cfbf1d2b0e00aaa091","version":{"_id":"54e431e6de9f5b2300fc6dbc","forked_from":"545a65231d018b1400227d92","project":"545a65231d018b1400227d8f","__v":10,"createdAt":"2015-02-18T06:32:06.531Z","releaseDate":"2015-02-18T06:32:06.531Z","categories":["54e431e7de9f5b2300fc6dbd","54e431e7de9f5b2300fc6dbe","54e56a85c2f66835000133c3","54ff948548c94d23004f1e17","5527280be69c7d0d00047eaf","55273bb14a7ac121004c60f0","55274588975eef3700ca8077","552748df9d4bcd2300d0383d","55274dd79d4bcd2300d0384a","55fa03180e1f1f1700a1f6ce","55fa3172d6f4370d001d99fd"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-04-10T01:37:50.663Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"put","results":{"codes":[]},"auth":"required","params":[{"_id":"54e56a19c2f66835000133c1","ref":"","in":"body","required":true,"desc":"The id of the event you want to edit","default":"","type":"int","name":"ID"},{"_id":"54e56a19c2f66835000133c0","ref":"","in":"body","required":true,"desc":"The name of the event","default":"","type":"string","name":"Name"},{"_id":"54ffd2d9179d042d00514eab","ref":"","in":"body","required":false,"desc":"The order of the group","default":"","type":"int","name":"Order"},{"_id":"54ffd2d9179d042d00514eaa","ref":"","in":"body","required":false,"desc":"The id for the groups parent group (all groups must have a parent)","default":"","type":"int","name":"Parent"},{"_id":"54ffd2d9179d042d00514ea9","ref":"","in":"body","required":true,"desc":"Group status","default":"active","type":"string","name":"Status"}],"url":"/group/:group_id"},"isReference":false,"order":2,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -X PUT  -u \\\"testuser:moy1zZCscHpx7ei8CzNA\\\" -H \\\"Cache-Control: no-cache\\\"  -d '{\\n  \\\"Group\\\": {\\n    \\\"Name\\\": \\\"Test\\\",\\n    \\\"Order\\\": 3,\\n    \\\"Parent\\\": 324,\\n    \\\"Status\\\": \\\"active\\\"\\n  }\\n}' https://api.attendly.net/v2/group/123\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"Update a group","slug":"group-update","type":"endpoint","title":"Group update"}

putGroup update

Update a group

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

ID:
required
integer
The id of the event you want to edit
Name:
required
string
The name of the event
Order:
integer
The order of the group
Parent:
integer
The id for the groups parent group (all groups must have a parent)
Status:
required
stringactive
Group status

Documentation

[block:code] { "codes": [ { "code": "curl -X PUT -u \"testuser:moy1zZCscHpx7ei8CzNA\" -H \"Cache-Control: no-cache\" -d '{\n \"Group\": {\n \"Name\": \"Test\",\n \"Order\": 3,\n \"Parent\": 324,\n \"Status\": \"active\"\n }\n}' https://api.attendly.net/v2/group/123", "language": "curl" } ] } [/block]