---
title: "Set the org master switch for external asks"
method: PUT
path: "/organizations/{id}/external-access-requests"
tags: ["access-requests"]
---

# Set the org master switch for external asks

`PUT /organizations/{id}/external-access-requests`

## Request

- Base URL: `https://api.onplana.com/api`
- URL: `https://api.onplana.com/api/organizations/{id}/external-access-requests`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

OWNER/ADMIN, audited. One half of the double opt-in; nothing is publicly requestable until a resource's own toggle is ALSO on. Default off preserves existence hiding exactly.

## Path parameters

- `id` string, required

## Request body

- object
  - `enabled` boolean, required

## Response `200`

{ enabled }

## Other responses

- `400`: Validation error
- `401`: Unauthorized - missing or invalid JWT
- `403`: Forbidden - insufficient role

---

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