Update an existing action
curl --request PUT \
--url 'https://api-(organization).gable.ai/v0/action' \
--header 'Content-Type: application/json' \
--data '{
"actionId": "<string>",
"name": "email on pricing asset change",
"triggers": [
{
"triggerType": "source",
"triggerValues": [
"<string>"
]
}
],
"destinations": [
{
"destinationType": "slack",
"slackChannelIds": [
"<string>"
]
}
],
"isActive": true
}'
{
"actionId": "<string>"
}
Successful operation
The response is of type object
.
curl --request PUT \
--url 'https://api-(organization).gable.ai/v0/action' \
--header 'Content-Type: application/json' \
--data '{
"actionId": "<string>",
"name": "email on pricing asset change",
"triggers": [
{
"triggerType": "source",
"triggerValues": [
"<string>"
]
}
],
"destinations": [
{
"destinationType": "slack",
"slackChannelIds": [
"<string>"
]
}
],
"isActive": true
}'
{
"actionId": "<string>"
}