---
title: "Stop the device (state is kept; a stopped device costs nothing)"
method: POST
path: "/devices/{name}/stop"
tags: ["Devices"]
---

# Stop the device (state is kept; a stopped device costs nothing)

`POST /devices/{name}/stop`

## Request

- Base URL: `https://api.clousd.com/v1`
- URL: `https://api.clousd.com/v1/devices/{name}/stop`
- Auth: HTTP bearer

## Response `202`

Started

- object
  - `ok` boolean
  - `job` Job
    - `id` string
    - `kind` string
    - `phone` string
    - `state` 'running' | 'done' | 'failed'
    - `started` string, date-time
    - `done` string, date-time
    - `output` string

---

[API](https://skmtc.dev/clousd/apis/clousd-api.md) · [All operations](https://skmtc.dev/clousd/apis/clousd-api/llms.txt) · [OpenAPI document](https://skmtc.dev/clousd/apis/clousd-api/revisions/0291ffd26ae3?raw)
