Groepen
Groep bijwerken
Updates naam, segment, capaciteit en automatisering.
PATCH
/groups/{id}groups:writeVerzoek
idstring · pathResource-ID.verplichtnamestring · bodyGroepsnaam.optioneelrolestring · bodyGroepsrol.optioneelsegment_idstring · bodySegmenteren.optioneelcapacityinteger · bodyCapaciteit.optioneelautomationboolean · bodyActiveert automatisering.optioneelactiveboolean · bodyActiveer de groep.optioneelVoorbeeld
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"
}'Antwoord
200Operatie voltooid4xxFout met code, bericht en request_id