Skip to main content
POST
/
v1
/
edge_connectors
/
{edge_connector_id}
/
actions
Create edge connector action
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>"
          ]
        }
      ]
    }
  }
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

edge_connector_id
string
required

Edge connector ID

Body

application/vnd.api+json
action
object

Response

Action created