---
title: "Remove a team auto-enroll domain"
method: DELETE
path: "/v1/teams/{teamId}/auto-enroll/{entryId}"
tags: ["Teams"]
---

# Remove a team auto-enroll domain

`DELETE /v1/teams/{teamId}/auto-enroll/{entryId}`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/teams/{teamId}/auto-enroll/{entryId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.spacefast.com/v1/auth/oauth2/authorize`, token URL `https://api.spacefast.com/v1/auth/oauth2/token`; client credentials, token URL `https://api.spacefast.com/v1/auth/oauth2/token`, scopes: `teams:members.write`)

Stops offering this team through the domain. Existing members keep their membership. The entry must belong to this team.

## Path parameters

- `teamId` string, required
- `entryId` string, required

## Response `204`

Domain removed.

---

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