---
title: "Cancel the draft site metadata undoing any modifications."
method: POST
path: "/authoring/v1/sites/{site-id}/cancel"
tags: ["Authoring sites"]
---

# Cancel the draft site metadata undoing any modifications.

`POST /authoring/v1/sites/{site-id}/cancel`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/goacoustic/apis/acoustic-content-api/docs/authoring/v1/sites/:site-id/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to undo changes to the site's metadata.
<br />User roles: admin, manager, editor

## Path parameters

- `site-id` string, uuid, required

## Response `200`

Successfully cancelled the draft site metadata.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `429`: Too Many Requests
- `default`: Unexpected error

---

[API](https://skmtc.dev/goacoustic/apis/acoustic-content-api.md) - [All operations](https://skmtc.dev/goacoustic/apis/acoustic-content-api/llms.txt) - [OpenAPI document](https://skmtc.dev/goacoustic/apis/acoustic-content-api/revisions/677305266d89?raw)
