Groupes
Groupe de mise à jour
Met à jour le nom, le segment, la capacité et l’automatisation.
PATCH
/groups/{id}groups:writeDemande
idstring · pathIdentificateur de ressource.obligatoirenamestring · bodyNom du groupe.facultatifrolestring · bodyRôle du groupe.facultatifsegment_idstring · bodySegmenter.facultatifcapacityinteger · bodyCapacité.facultatifautomationboolean · bodyActive l'automatisation.facultatifactiveboolean · bodyActivez le groupe.facultatifExemple
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"
}'Réponse
200Opération terminée4xxErreur avec le code, le message et request_id