Actions
PUT /actions/{actionId}
Updates an action.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
actionId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/organizations/string/actions/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "organizationId": "string", "name": "string", "actionKey": "compliance.scan", "status": "draft", "enabled": true, "scope": "org", "projectIds": [ "string" ], "schedule": null, "options": null, "scanConfigId": "string", "trigger": { "event": "string", "filter": { "property1": null, "property2": null } }, "inputs": [ { "sourceType": "project", "sourceId": "string" } ], "destinations": [ null ], "agentOverrides": { "property1": { "enabled": true }, "property2": { "enabled": true } }, "origin": "user", "connectionId": "string", "triggerScheduleId": "string", "createdBy": "string", "dateCreated": null, "dateUpdated": null, "paused": true, "lastRunAt": null, "latestRunStatus": "pending", "latestRunId": "string", "latestRunError": "string"}