---
title: "Revoke a shared computer from a team"
method: DELETE
path: "/v1/org/computers/shared/{computerId}/team-grants/{teamId}"
tags: ["Devices"]
---

# Revoke a shared computer from a team

`DELETE /v1/org/computers/shared/{computerId}/team-grants/{teamId}`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/org/computers/shared/{computerId}/team-grants/{teamId}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Ends one team's grant on a shared cloud computer. The next access check for its members finds no team grant; a member who was also granted the computer directly keeps that grant. Revoking a grant that is not there answers not_granted. Requires Shared computer grants and computers.create with a recent sign-in.

## Path parameters

- `computerId` string, typeid, required
- `teamId` string, typeid, required

## Response `200`

The team grant is gone, or was not there.

- OrganizationSharedComputerTeamRevokeResponse
  - `result` 'revoked' | 'not_granted', required
  - `computer` OrganizationSharedComputer, required
    - `id` string, required
    - `name` string, required
    - `status` 'provisioning' | 'healthy' | 'failed' | 'stopped', required
    - `grants` integer, required
    - `teamGrants` integer, required
    - `createdAt` string, date-time, required
    - `size` 'small' | 'medium' | 'large', nullable
  - `teamId` string, required

## Other responses

- `400`: Invalid request.
- `401`: Sign in required.
- `403`: Set up cloud computers permission and a recent sign-in required.
- `404`: Shared computer grants is off, or the computer, member or agent is not in this organization.
- `409`: This is a member's own computer, which is never granted.

## Changes

- **2026-12-01** `85dda9c15f57`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/computers/shared/:computerId/team-grants/:teamId/delete.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
