Devices

Terminate a device

Changed on

Terminates the device and releases its resources. For a personal (BYOD) device the owner (API key or user) can instead remove the phone from the account so anyone can pair it again; the phone must be disconnected first, otherwise the request is rejected with 409 BYOD_DEVICE_CONNECTED. Other subscription-billed devices are service-managed and require a service key. The optional terminateAt and previousDeviceId body fields also require a service key; requests that set them without one are rejected with 401.

delete/devices/{deviceId}

Request

  • Base URL
    https://api.mobilerun.ai
  • URL
    https://api.mobilerun.ai/devices/{deviceId}
  • Auth
    HTTP bearer

Path parameters

deviceIdstring required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

previousDeviceIdstring
terminateAtstring date-time

Example request

{
  "$schema": "https://example.com/schemas/TerminateInputBody.json"
}

Response

No Content

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security bearerAuth was removed from the API

    • info

      request body became optional