---
title: "Delete pending invitation"
method: DELETE
path: "/v0/investors/{investorId}/invitations/{email}"
tags: ["Users"]
---

# Delete pending invitation

`DELETE /v0/investors/{investorId}/invitations/{email}`

## Request

- Base URL: `https://distributor-api.spiko.io`
- URL: `https://distributor-api.spiko.io/v0/investors/{investorId}/invitations/{email}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/spiko/apis/spiko-distributor-api/docs/v0/investors/:investorId/invitations/:email/delete.ts> (a function with typed inputs; its response is checked against the schema)

**Delete a pending user invitation for an investor.**

- Only pending (not yet accepted) invitations can be deleted.
- The invitation is identified by the invitee's email address.

## Path parameters

- `investorId` string, uuid, required: a Universally Unique Identifier
- `email` string, required

## Response `204`

Invitation deleted

## Other responses

- `400`: The request did not match the expected schema
- `401`: Authentication failed. Two bodies are possible: the schema below when the API rejects the credentials, and `{ "error": { "code", "status", "request", "message" } }` when the API gateway rejects them first. Only the former carries a `_tag`.
- `403`: Forbidden
- `404`: NotFound
- `503`: The investor is undergoing a scheduled upgrade, access is temporarily paused to ensure data safety.

---

[API](https://skmtc.dev/spiko/apis/spiko-distributor-api.md) - [All operations](https://skmtc.dev/spiko/apis/spiko-distributor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spiko/apis/spiko-distributor-api/revisions/dd06889f4c79?raw)
