---
title: "partially update your authorization model"
method: PATCH
path: "/v1/tenants/{tenant_id}/schemas/partial-write"
tags: ["Schema"]
---

# partially update your authorization model

`PATCH /v1/tenants/{tenant_id}/schemas/partial-write`

## Path parameters

- `tenant_id` string, required

## Request body

- PartialWriteBody
  - `metadata` SchemaPartialWriteRequestMetadata — SchemaPartialWriteRequestMetadata provides additional information for the Schema Partial Write request. It contains schema_version to specify which version of the schema should be read.
    - `schema_version` string — schema_version is the string that identifies the version of the schema to be read.
  - `partials` object

## Response `200`

A successful response.

- SchemaPartialWriteResponse — SchemaPartialWriteResponse is the response message for the Parietal Write method in the Schema service. It returns the requested schema.
  - `schema_version` string — schema_version is the string that identifies the version of the written schema.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-12-28** `f37e45046dd2` — 1 breaking
  - the `details/items/additionalProperties/` response's property type/format changed from `object`/`` to ``/`` for status `default`
- **2024-08-23** `f3b10e35081b` — 1 breaking, 2 info
  - added required request body
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `default`
- **2024-08-22** `282fb7ba2640` — 3 breaking
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - removed the media type `application/json` for the response with the status `default`
- **2024-07-28** `308fb2406b7e` — 1 info
  - endpoint added
- **2024-03-19** `0bc305aa169f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/permify/apis/permify-api/changes/v1/tenants/:tenant_id/schemas/partial-write/patch.md)

---

[API](https://skmtc.dev/permify/apis/permify-api.md) · [All operations](https://skmtc.dev/permify/apis/permify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/permify/permify-api/revisions/73b7d5b3742e/schema)
