---
title: "Delete a machine scope"
method: DELETE
path: "/machines/{machine_id}/scopes/{other_machine_id}"
tags: ["Machines"]
---

# Delete a machine scope

`DELETE /machines/{machine_id}/scopes/{other_machine_id}`

Deletes a machine scope, removing access from one machine to another.

## Path parameters

- `machine_id` string, required
- `other_machine_id` string, required

## Response `200`

Machine scope deleted successfully for a machine

- object
  - `object` 'machine_scope', required — String representing the object's type.
  - `from_machine_id` string, required — The ID of the machine that had access to the target machine
  - `to_machine_id` string, required — The ID of the machine that was being accessed
  - `deleted` true, required — Whether the machine scope was successfully deleted

## Other responses

- `400` — Request was not successful
- `401` — Authentication invalid
- `403` — Authorization invalid
- `404` — Resource not found
- `422` — Invalid request parameters

---

[API](https://skmtc.net/clerk/apis/clerk-backend-api.md) · [All operations](https://skmtc.net/clerk/apis/clerk-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clerk/clerk-backend-api/revisions/cf036e7951d3/schema)
