---
title: "Revoke ADB access"
method: DELETE
path: "/sessions/{sid}/adb"
tags: ["ADB"]
---

# Revoke ADB access

`DELETE /sessions/{sid}/adb`

## Request

- Base URL: `https://api.phone-harness.com`
- URL: `https://api.phone-harness.com/sessions/{sid}/adb`
- Auth: HTTP bearer

Revoke ADB access for your session. This does not end the phone or stop its billing; use DELETE /sessions/{sid} to end the session. Revocation can be requested while a live session is closing or its deadline has passed, provided its allocation is still available. An already-removed session returns 404. Watch tokens cannot revoke access.

## Path parameters

- `sid` string, required

## Response `200`

Success.

- AdbRevocation
  - `revoked` true, required

## Other responses

- `400`: ADB is unavailable on this provider; response includes unsupported: true.
- `401`: Bad or missing bearer credential.
- `403`: Account access denied or rental access unavailable.
- `404`: No live session visible to the caller.
- `409`: The session allocation is unavailable.
- `500`: Unexpected service error.

---

[API](https://skmtc.dev/phone-harness/apis/phone-harness-api.md) - [All operations](https://skmtc.dev/phone-harness/apis/phone-harness-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phone-harness/apis/phone-harness-api/revisions/5af8941102e5?raw)
