Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Remove a team auto-enroll domain

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

DELETE/v1/teams/{teamId}/auto-enroll/{entryId}
Authorization
AuthorizationBearer token · headerrequired

Better Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.

or
AuthorizationOAuth2 access token · headerrequired

OAuth 2.0 with explicit Spacefast capability scopes. Use the authorization-code flow for people and client credentials for machines.

Scopes:teams:members.write
Path parameters
teamIdstringrequired
min length 1
entryIdstringrequired
min length 1
Responses
204

Domain removed.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://api.spacefast.com/v1/teams/string/auto-enroll/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
Domain removed.

Was this page helpful?