---
title: "Decline a backup share offered to this space"
method: POST
path: "/spaces/{spaceId}/backup-shares/{shareId}/decline"
tags: ["Backups"]
---

# Decline a backup share offered to this space

`POST /spaces/{spaceId}/backup-shares/{shareId}/decline`

## Request

- Base URL: `https://krova.cloud/api/v1`
- URL: `https://krova.cloud/api/v1/spaces/{spaceId}/backup-shares/{shareId}/decline`
- Auth: API key in header `X-API-KEY`

Requires an API key of this space's owner, or of a member with `backup.manage`.

## Path parameters

- `spaceId` string, required
- `shareId` string, required

## Response `200`

Declined

- object
  - `share` BackupShare, required
    - `id` string, required
    - `status` 'pending' | 'accepted' | 'declined' | 'canceled' | 'expired', required
    - `backupId` string, required: The SOURCE backup being shared.
    - `backupName` string, required
    - `sourceSpaceId` string, required
    - `destinationSpaceId` string, required
    - `counterpartySpaceName` string, required: The other space in this share: the destination on an outgoing share, the source on an incoming one.
    - `copyBackupId` string, nullable, required: The destination space's own copy, once the share is accepted.
    - `expiresAt` string, date-time, required
    - `createdAt` string, date-time, required

## Other responses

- `403`: Authenticated but lacks the required permission
- `409`: The request is no longer pending
- `429`: Rate limit exceeded (10 mutations / 60s)

---

[API](https://skmtc.dev/krova/apis/krova-cloud-api.md) · [All operations](https://skmtc.dev/krova/apis/krova-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/krova/apis/krova-cloud-api/revisions/46bb68281ce1?raw)
