patch https://api.everbridge.net/rest/contacts//
Partially update a contact within an organization. This can be used to add, update or remove a contact property without passing the entire contact object in the request.
The API allows adding/updating/deleting one or more fields by passing array of fields
[
{
"op": "add",
"path": "/groupsName/~",
"value": "group1"
}
]
Use the table below to create payload for different contact properties
Type | Array Name | Field | Path Example |
---|---|---|---|
Object Array | contactAttributes | orgAttrId name |
orgAttrId:1509768514502692 |
paths | pathId prompt |
pathId:241901148045319 | |
quietTimeFrames | name | name:quietTime1 | |
address | locationName | locationName:Home | |
Normal Array | groups | N/A | value:13885629267972 |
groupsName | value:group1 | ||
topics | value:1814748236611594 |
NOTE: For normal array, we always use 'value' to represent key field.