---
title: "Cancel Team Invite"
method: POST
path: "/teams/{team_id}/members/{member_id}/cancel"
tags: ["teams"]
---

# Cancel Team Invite

`POST /teams/{team_id}/members/{member_id}/cancel`

## Path parameters

- `team_id` string, uuid, required
- `member_id` string, uuid, required

## Response `200`

Successful Response

- TeamUser
  - `id` string, uuid
  - `date_created` string, date-time
  - `date_updated` string, date-time
  - `team_id` string, uuid, required — The ID of the team associated with the user.
  - `user_id` string, uuid, required — The ID of the user associated with the team.
  - `team_role_id` string, uuid, required — The ID of the role associated with the user and team.
  - `all_knowledge_bases` boolean — Flag indicating whether the user can access all knowledge bases.
  - `credits` number — The number of credits available for the user.
  - `credits_available` integer — The number of credits available for the user.
  - `total_credits_used` number — The total number of credits used by the user.
  - `accepted` boolean — Flag indicating whether the user has accepted the invitation.
  - `invitation_token` string, uuid — The token used for the invitation.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/dante-ai/apis/dante-ai-api.md) · [All operations](https://skmtc.net/dante-ai/apis/dante-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dante-ai/dante-ai-api/revisions/38b6c9a4246d/schema)
