---
title: "Cancel a pending site transfer"
method: DELETE
path: "/api/v1/sites/{slug}/transfer/{transferId}"
tags: ["Members"]
---

# Cancel a pending site transfer

`DELETE /api/v1/sites/{slug}/transfer/{transferId}`

## Request

- Base URL: `https://api.dotsy.ai`
- URL: `https://api.dotsy.ai/api/v1/sites/{slug}/transfer/{transferId}`
- Auth: HTTP bearer

Withdraws an offer that has not been accepted. Needs the site Owner role.

## Path parameters

- `slug` string, required
- `transferId` string, required

## Response `200`

The offer was cancelled.

- object
  - `ok` true, required

## Other responses

- `401`: Missing or invalid credentials.
- `403`: `forbidden_role`: transferring a site needs the site Owner role.
- `404`: `site_not_found`, or `transfer_not_found`: no such pending transfer on this site.

---

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