Group
Update Group
Instance
Billable Item
Booking
Calendar Subscription
Invoice
Quote
Invoice Template
Project
Time Activity
Group
Update Group
WRITE
access to the ADMIN
module is required to access this endpointPUT
/
v2
/
group
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
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The ID of the group you wish to update
Body
application/json
Standard group model that returns all properties by default
Response
200
application/json
Successful Operation
The response is of type object
.
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
}
}