curl --request POST \
--url https://api.rootly.com/v1/edge_connectors/{edge_connector_id}/actions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"action": {
"name": "<string>",
"action_type": "script",
"metadata": {
"description": "<string>",
"timeout": 123,
"parameters": [
{
"name": "<string>",
"type": "string",
"required": true,
"description": "<string>",
"options": [
"<string>"
]
}
]
}
}
}
'Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/edge_connectors/{edge_connector_id}/actions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"action": {
"name": "<string>",
"action_type": "script",
"metadata": {
"description": "<string>",
"timeout": 123,
"parameters": [
{
"name": "<string>",
"type": "string",
"required": true,
"description": "<string>",
"options": [
"<string>"
]
}
]
}
}
}
'