Edit Trigger
curl --request PUT \
--url https://api.{tenant}.getomneo.com/api/v3/triggers/{trigger} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"trigger": "<string>",
"description": "<string>",
"is_active": true,
"notes": "<string>",
"actions": [
{
"name": "<string>",
"sort_order": 123,
"arguments": [
{
"name": "<string>",
"value": "<string>",
"is_dynamic": true
}
],
"description": "<string>",
"notes": "<string>"
}
]
}
'{
"data": {
"id": 123,
"name": "<string>",
"trigger": "<string>",
"description": "<string>",
"notes": "<string>",
"actions": [
{
"id": 123,
"uuid": "<string>",
"references_id": "<string>",
"name": "<string>",
"sort_order": 123,
"description": "<string>",
"notes": "<string>",
"arguments": [
{
"name": "<string>",
"value": "<string>",
"is_dynamic": "<string>"
}
],
"created_at": "<string>",
"updated_at": "<string>"
}
],
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>"
}
}Trigger
Edit Trigger
A PUT to the /triggers/{triggerId} endpoint allows your application to edit trigger.
PUT
/
v3
/
triggers
/
{trigger}
Edit Trigger
curl --request PUT \
--url https://api.{tenant}.getomneo.com/api/v3/triggers/{trigger} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"trigger": "<string>",
"description": "<string>",
"is_active": true,
"notes": "<string>",
"actions": [
{
"name": "<string>",
"sort_order": 123,
"arguments": [
{
"name": "<string>",
"value": "<string>",
"is_dynamic": true
}
],
"description": "<string>",
"notes": "<string>"
}
]
}
'{
"data": {
"id": 123,
"name": "<string>",
"trigger": "<string>",
"description": "<string>",
"notes": "<string>",
"actions": [
{
"id": 123,
"uuid": "<string>",
"references_id": "<string>",
"name": "<string>",
"sort_order": 123,
"description": "<string>",
"notes": "<string>",
"arguments": [
{
"name": "<string>",
"value": "<string>",
"is_dynamic": "<string>"
}
],
"created_at": "<string>",
"updated_at": "<string>"
}
],
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>"
}
}⌘I