---
title: "Create an Operation for Operation List"
method: POST
path: "/pipelines/v0/operationlists/{operationlist_id}/operations/"
tags: ["pipelines_Operations"]
---

# Create an Operation for Operation List

`POST /pipelines/v0/operationlists/{operationlist_id}/operations/`

## Path parameters

- `operationlist_id` string, required

## Request body

- PipelinesOperationPOST
  - `args` object — Arguments for the operation
  - `operation_type` 'LOCK' | 'REBOOT' | 'SET_NEW_POLICY' | 'UPDATE_HEARTBEAT' | 'REQUEST_BUGREPORT' | 'REQUEST_DPCLOG' | 'ADD_TO_WHITELIST' | 'REMOVE_FROM_WHITELIST' | 'SET_APP_PERMISSION' | 'WIPE' | 'CAPTURE_SCREENSHOT' | 'SET_WIFI_STATE' | 'SET_BLUETOOTH_STATE' | 'SET_ROTATION_STATE' | 'SET_GPS_STATE' | 'SET_BRIGHTNESS_SCALE' | 'SET_STREAM_VOLUME' | 'SET_SCREEN_OFF_TIMEOUT' | 'SET_ADB_STATE' | 'INITIATE_OFFER' | 'INSTALL' | 'SIMPLE_INSTALL' | 'UNINSTALL' | 'REFRESH_APPLIST' | 'UPDATE_LATEST_DPC' | 'NOTIFY_OTA' | 'CLEAR_APP_DATA' | 'SET_GEO_FENCE' | 'SET_KIOSK_APP' | 'SET_DEVICE_LOCKDOWN_STATE' | 'SET_TIMEZONE' | 'SET_APP_STATE' | 'ADD_WIFI_AP' | 'REMOVE_WIFI_AP' | 'UPDATE_WIFI_AP' | 'UPDATE_DEVICE_CONFIG' | 'INITIATE_CONFERENCE_CALL' | 'ADD_OVERRIDE_APN' | 'SYNC_CONTENT' | 'SET_WALLPAPER'

## Response `200`

Created operation

- object
  - `code` integer
  - `message` string
  - `content` PipelinesOperation
    - `id` string
    - `operation_list_id` string
    - `pipeline_id` string
    - `operation_type` string
    - `args` string
    - `created_by` number
    - `updated_by` number
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401` — Operation create error

---

[API](https://skmtc.dev/esper/apis/esper-api-reference.md) · [All operations](https://skmtc.dev/esper/apis/esper-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/esper/esper-api-reference/revisions/e1f64cbb488e/schema)
