PUT
/
admin
/
groups
/
{group_id}
curl --request PUT \
  --url https://api.helpyousponsor.com/v1/admin/groups/{group_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 301,
  "name": "HYS Demos",
  "client_id": "207",
  "group_all": "1",
  "account": "1",
  "groups": "1",
  "group-{group_id}": "1",
  "admins": "1",
  "forms": "1",
  "new_form": "1",
  "manage_programs": "1",
  "manage_settings": "1",
  "manage_designations": "1",
  "manage_email": "1",
  "email_manager": "1",
  "donations": "1",
  "form_report": "1",
  "program-{program_id}": "1",
  "donor-{donor_id}": "1",
  "program-all": "1",
  "donor-all": "1",
  "disable_entity_archive": "1",
  "disable_donor_archive": null,
  "disable_donor_delete": null,
  "disable_donor_restore": null,
  "disable_entity_delete": null,
  "disable_entity_restore": null,
  "group_id": 301,
  "disable_message_send_without_approval": null
}'
{
  "message": "Successfully Updated Group"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

group_id
integer
required

ID of the group to edit

Body

application/json

Response

200
application/json

Successfully Updated the Group

The response is of type object.