---
title: "Withdraw all pending SENT invitations older than older_than_days (default 14, e.g. 30). Batch maintenance; idempotent (a"
method: POST
path: "/api/v1/network/cancel-stale-invitations"
tags: ["network"]
---

# Withdraw all pending SENT invitations older than older_than_days (default 14, e.g. 30). Batch maintenance; idempotent (a

`POST /api/v1/network/cancel-stale-invitations`

## Request

- Base URL: `https://crispy.sh`
- URL: `https://crispy.sh/api/v1/network/cancel-stale-invitations`
- Auth: HTTP bearer

## Request body

- object
  - `older_than_days` number: Cancel pending sent invites older than this many days (default 14).
  - `limit` number: Max pending invitations to scan (1-100, default 50).

## Response `200`

Success

## Other responses

- `401`: Missing or expired API key
- `403`: Insufficient key scope or permission denied
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/crispy/apis/crispy-rest-api.md) · [All operations](https://skmtc.dev/crispy/apis/crispy-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crispy/apis/crispy-rest-api/revisions/6bed0974d9ce?raw)
