---
title: "Update an organization's administrator-set Surface context"
method: PUT
path: "/api/organization/{organizationId}/surface/admin-context"
tags: ["Admin Surface Context"]
---

# Update an organization's administrator-set Surface context

`PUT /api/organization/{organizationId}/surface/admin-context`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/organization/{organizationId}/surface/admin-context`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/organization/:organizationId/surface/admin-context/put.ts> (a function with typed inputs; its response is checked against the schema)

Upserts the administrator-set Surface context for the given organization, preserving formatting verbatim. Leaves the organization's own context untouched. Requires the edit-organization permission.

## Path parameters

- `organizationId` integer, required

## Request body

- AdminOrganizationSurfaceContextUpdateRequest
  - `context` string, nullable, required: Freeform administrator-set context for the target organization, injected into Surface LLM prompts for every member alongside the organization's own context. Formatting (markdown / line breaks) is preserved verbatim. Send null or an empty string to clear it.

## Response `200`

Administrator-set organization context updated

- object
  - `data` object
    - `context` string, nullable

## Other responses

- `401`: Unauthenticated
- `403`: Missing the edit-organization permission
- `404`: Organization not found
- `422`: Validation error

---

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