---
title: "Switch computer use on or off for the workspaces of an organization template"
method: PUT
path: "/v1/organizations/{organization_id}/templates/{slug}/computer-use"
tags: ["Templates"]
---

# Switch computer use on or off for the workspaces of an organization template

`PUT /v1/organizations/{organization_id}/templates/{slug}/computer-use`

## Request

- Base URL: `https://api.shardflux.dev`
- URL: `https://api.shardflux.dev/v1/organizations/{organization_id}/templates/{slug}/computer-use`
- Auth: HTTP bearer

Every workspace of the template follows it unless the workspace sets its own value; takes effect on their next tool token. Owners and admins (sessions) or API keys of the organization with a tool permission. 403 for platform templates (switch a workspace on instead), 404 outside the organization.

## Path parameters

- `organization_id` string, uuid, required
- `slug` string, required

## Request body

- object
  - `enabled` boolean, required

## Response `200`

Default Response

- object
  - `enabled` boolean, required

## Other responses

- `4XX`: Default Response
- `5XX`: Default Response

---

[API](https://skmtc.dev/shardflux/apis/shardflux-api.md) · [All operations](https://skmtc.dev/shardflux/apis/shardflux-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shardflux/apis/shardflux-api/revisions/ea685f7b39c4?raw)
