---
title: "Update organization strict mode"
method: PATCH
path: "/organizations/{id}/strict-mode"
tags: ["Organizations"]
---

# Update organization strict mode

`PATCH /organizations/{id}/strict-mode`

Toggle the organization's strict_mode flag. Only org admins may change this.

## Path parameters

- `id` string, required

## Request body

- GithubComActiveloopaiDeeplakeApiInternalOrgsUpdateStrictModeRequest
  - `strict_mode` boolean

## Response `200`

OK

- GithubComActiveloopaiDeeplakeApiInternalOrgsOrganizationResponse
  - `member_count` integer
  - `organization` GithubComActiveloopaiDeeplakeApiInternalOrgsOrganization
    - `created_at` string
    - `creator` string
    - `id` string
    - `name` string
    - `strict_mode` boolean
  - `pending_invites_count` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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