> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slideless.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# POST /uninviteCollaborator

> Revoke a dev collaborator. Symmetric with inviteCollaborator.

## Endpoint

```
POST https://europe-west1-slideless-ai.cloudfunctions.net/uninviteCollaborator
```

## Authentication

`Authorization: Bearer <key>` — owner only.

## Request body

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "presentationId": "01HXYZ...",
  "collaboratorId": "01H..."
}
```

## Response

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "success": true,
  "data": { "success": true, "collaboratorId": "01H..." }
}
```

Revocation is immediate — the revoked collaborator's next `push` or `pull` returns 403.

## Errors

| Status | Code                | Cause                                                                 |
| ------ | ------------------- | --------------------------------------------------------------------- |
| 403    | `permission-denied` | Not the owner                                                         |
| 404    | `not-found`         | `collaboratorId` doesn't match or belongs to a different presentation |
