Create a scheduled event

POST 

/v2/faas/scheduled/events

Creates a new scheduled event for a package deployment. Permissions: functions.package-deployment:write on keyset

Request

Example
{
  "data": {
    "id": "a7b8c9d0-e1f2-3456-0123-456789abcdef",
    "dttmBegin": "2026-03-15T08:00:00.000Z",
    "dttmEnd": "2026-03-15T20:00:00.000Z",
    "description": "Scale up during peak hours",
    "state": "RUNNING",
    "scheduledActions": [
      {
        "id": "f6a7b8c9-d0e1-2345-f012-3456789abcde",
        "accountId": 12345,
        "packageDeploymentId": "d4e5f6a7-b8c9-0123-def0-123456789abc",
        "type": "START",
        "dttm": "2026-03-15T08:00:00.000Z",
        "description": "Scheduled start for morning traffic",
        "state": "PENDING",
        "createdDttm": "2026-01-15T10:30:00.000Z",
        "updatedDttm": "2026-02-01T14:20:00.000Z"
      }
    ],
    "createdDttm": "2026-01-15T10:30:00.000Z",
    "updatedDttm": "2026-02-01T14:20:00.000Z"
  },
  "meta": {
    "timestamp": "2026-03-10T12:00:00.000Z",
    "correlationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  "errors": []
}
Example
{
  "meta": {
    "timestamp": "2026-03-10T12:00:00.000Z",
    "correlationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  "errors": [
    {
      "code": "FAAS-404",
      "message": "Entity not found"
    }
  ]
}
Example
{
  "meta": {
    "timestamp": "2026-03-10T12:00:00.000Z",
    "correlationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  "errors": [
    {
      "code": "FAAS-404",
      "message": "Entity not found"
    }
  ]
}
Example
{
  "meta": {
    "timestamp": "2026-03-10T12:00:00.000Z",
    "correlationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  "errors": [
    {
      "code": "FAAS-404",
      "message": "Entity not found"
    }
  ]
}
Example
{
  "meta": {
    "timestamp": "2026-03-10T12:00:00.000Z",
    "correlationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
  },
  "errors": [
    {
      "code": "FAAS-404",
      "message": "Entity not found"
    }
  ]
}