curl --request PUT \
--url https://api.sonderplan.com/v2/group \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Video Editors",
"description": "Full schedule access, limited project access",
"members": [
{
"id": 4,
"first_name": "Jane",
"last_name": "Smith",
"primary_email": "[email protected]"
}
],
"acl_schedule": "R-",
"acl_project": "R-",
"acl_task": "R-",
"acl_finance": "R-",
"acl_report": "R-",
"acl_contact": "R-",
"acl_admin": "R-",
"acl_account": "R-"
}'
{
"success": {
"id": 2384
}
}
WRITE
access to the ADMIN
module is required to access this endpointcurl --request PUT \
--url https://api.sonderplan.com/v2/group \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Video Editors",
"description": "Full schedule access, limited project access",
"members": [
{
"id": 4,
"first_name": "Jane",
"last_name": "Smith",
"primary_email": "[email protected]"
}
],
"acl_schedule": "R-",
"acl_project": "R-",
"acl_task": "R-",
"acl_finance": "R-",
"acl_report": "R-",
"acl_contact": "R-",
"acl_admin": "R-",
"acl_account": "R-"
}'
{
"success": {
"id": 2384
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the group you wish to update
Standard group model that returns all properties by default
Successful Operation
The response is of type object
.