Groups
Update group
Updates name, segment, capacity and automation.
PATCH
/groups/{id}groups:writeRequest
idstring · pathResource identifier.mandatorynamestring · bodyGroup name.optionalrolestring · bodyGroup role.optionalsegment_idstring · bodySegment.optionalcapacityinteger · bodyCapacity.optionalautomationboolean · bodyActivates automation.optionalactiveboolean · bodyActivate the group.optionalExample
curl
curl -X PATCH 'https://achadu.com/api/v1/groups/resource_id' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"role": "string",
"segment_id": "string"
}'Answer
200Operation completed4xxError with code, message and request_id