---
title: "Delete team invitation"
method: DELETE
path: "/teams/{name}/invites"
---

# Delete team invitation

`DELETE /teams/{name}/invites`

Delete a pending team invitation that you have previously sent

## Path parameters

- `name` string, required — The name of the team to remove someone from

## Request body

- DeleteTeamInvitationParams
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `email` string, required — The email address of the team member to remove

## Response `200`

OK

- DeleteTeamInvitationResponse
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `invitation` TeamInvitation, required
    - `email` string, required
    - `invitation_sent_at` string, date-time, required
    - `role` string, required
    - `team` Team, required
      - `execution_region` string, required
      - `name` string, required
      - `organization` string, required — The name of the organization this team belongs to.
      - `slug` string — This property is deprecated. Use name instead.
      - `token` Token
        - `access_token` string, required — The access token to use when authenticating API requests with Tower.
        - `jwt` string, required — This property is deprecated. Use access_token instead.
        - `refresh_token` string — The refresh token to use when refreshing an expired access token. For security reasons, refresh tokens should only be transmitted over secure channels and never logged or stored in plaintext. It will only be returned upon initial authentication or when explicitly refreshing the access token.
      - `type` string, required — The type of team, either 'personal' or 'team'.

## Other responses

- `default` — Error

---

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