For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI referenceRelease notes
DocumentationAPI referenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTAdd GBAC to a job
        • POSTAdd watchers to a job
        • POSTAssign a task to a user
        • POSTBulk delete root jobs
        • POSTCancel jobs
        • POSTClaim a task
        • POSTClone automation
        • POSTContinue a job from a specified task
        • POSTCreate automation
        • POSTCreate trigger
        • DELDelete a root job and all related items
        • DELDelete automation
        • POSTDelete root jobs and related items
        • DELDelete trigger
        • DELDelete triggers by action ID
        • GETExport automation
        • GETExport large data for a job or task variable
        • GETExport trigger
        • POSTFinish a manual task
        • GETGet a job
        • GETGet a task by ID
        • GETGet automation
        • GETGet automations
        • GETGet event definition
        • GETGet jobs
        • GETGet manual task controller
        • GETGet tasks
        • GETGet trigger
        • GETGet triggers
        • PUTImport automations
        • PUTImport triggers
        • POSTPauses jobs
        • POSTRelease a currently assigned task
        • DELRemove all GBAC from a job
        • DELRemove GBAC from a job
        • PUTReplace all GBAC from a job with the provided list
        • POSTResume jobs
        • POSTRetry a task
        • POSTRevert a job
        • POSTRun endpoint trigger with POST
        • POSTRun manual trigger
        • GETSearch system events
        • POSTStart a job
        • POSTUnwatch job
        • POSTUnwatch jobs
        • PATCHUpdate automation
        • PATCHUpdate trigger
        • POSTValidate automation
        • POSTValidate trigger
        • POSTWatch a job
        • POSTWatch jobs
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceOperations Manager

Import triggers

PUT
http://localhost:3000/operations-manager/triggers
PUT
/operations-manager/triggers
$curl -X PUT http://localhost:3000/operations-manager/triggers \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1{
2 "message": "Successfully created the requested item",
3 "data": [
4 {
5 "success": true,
6 "data": {
7 "name": "Cisco IOS upgrade",
8 "description": "Turn up the port",
9 "enabled": true,
10 "actionType": "automations",
11 "actionId": "string",
12 "options": {
13 "targetType": "instance",
14 "targetIdentifier": "string",
15 "chooseTargetAtRuntime": true,
16 "actionId": "0a2f"
17 },
18 "lastExecuted": 1,
19 "migrationVersion": 1,
20 "createdBy": null,
21 "created": "2024-01-15T09:30:00Z",
22 "lastUpdatedBy": null,
23 "lastUpdated": "2024-01-15T09:30:00Z",
24 "_id": "string"
25 }
26 }
27 ],
28 "metadata": {}
29}
Imports Triggers.
Was this page helpful?
Previous

Pauses jobs

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

request body
triggerslist of objectsOptional
optionsobjectOptional

Response

The result of the import operation.
messagestring

A human-readable message summarizing the result of the operation

datalist of objects
Any successfully retrieved information related to the request.
metadatamap from strings to any

Any structured, wordy or machine-readable information related to the result of the operation. For success responses, this may contain information like pagination values from a search operation.

Errors

500
Internal Server Error