---
title: "Stop a sandbox from calling this project's internal addresses"
method: DELETE
path: "/projects/{project_id}/internal-access/sandboxes/{grant_id}"
tags: ["Internal Access"]
---

# Stop a sandbox from calling this project's internal addresses

`DELETE /projects/{project_id}/internal-access/sandboxes/{grant_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/internal-access/sandboxes/{grant_id}`
- Auth: HTTP bearer

The internal proxy refuses the sandbox again with its next route
snapshot, within seconds.

## Path parameters

- `project_id` integer, required
- `grant_id` integer, required

## Response `204`

Grant removed

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Grant not found on this project
- `500`: Internal server error

## Changes

- **2026-11-14** `3d5be996525d`: 1 info
  - endpoint added
- **2026-11-14** `101ef74660bc`: 1 breaking
  - api path removed without deprecation
- **2026-11-13** `9093c4f2c4cd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/internal-access/sandboxes/:grant_id/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
