---
# @generated by sylphx-gen. Do not edit.
title: "Publish a support case"
description: "`support.support_cases.publish` (POST /v1/{parent}/support_cases:publish): Publishes one immutable policy revision and its optional pinned template."
type: reference
product: support
summary: "Publishes one immutable policy revision and its optional pinned template."
nav: false
---

Publishes one immutable policy revision and its optional pinned template.

**Not available yet.** Sylphx Support is declared in the registry but no backend serves it: every call answers `501` with the problem code `UNIMPLEMENTED`.

- **Path** `POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/support_cases:publish`
- **Scope** `support:policy.write`
- **Effect** `write` — a successful call changes state.
- **Collection** [support_cases](/docs/api/support_cases)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `parent` | `string` | The owning environment. Required. |
| `route_key` | `string` | Route selector applied to cases at intake. Required. |
| `jurisdiction` | `string` | Jurisdiction selector applied to cases at intake. Required. |
| `revision` | `int64` | A strictly increasing revision for this route and jurisdiction. Required. |
| `policy` | `struct` | Strictly decoded Support policy; not an approval receipt. Required. |
| `template_content` | `string` | Exact template content, required when the policy pins an outbound template. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `revision` | `int64` | Stored policy revision. Output only. |

## Errors


Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/support_cases:publish" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jurisdiction":"…","policy":{},"revision":1,"route_key":"…"}'
```

**TypeScript**

```ts
const response = await sylphx.support.supportCases.publish({ jurisdiction: '…', parent: 'orgs/acme/projects/shop/envs/production', policy: {}, revision: 1, routeKey: '…' })
```

**Rust**

```rust
let mut req = sylphx::support::PublishCasePolicyRequest::default();
req.jurisdiction = "…".to_string();
req.parent = "orgs/acme/projects/shop/envs/production".to_string();
req.policy = Some(Default::default());
req.revision = 1;
req.route_key = "…".to_string();
let response = sx.support().support_cases().publish(req).await?;
```

**MCP**

```json
{ "method_id": "support.support_cases.publish", "args": {"jurisdiction":"…","parent":"orgs/acme/projects/shop/envs/production","policy":{},"revision":1,"route_key":"…"} }
```
