Claim Enterprise Domain
Allows a verified user to claim their email domain for their current workspace. This action will:
- Verify the user’s email is not from a free provider.
- Link the current workspace to the enterprise domain.
- Set the default role for new joiners.
Request
This endpoint expects an object.
default_role
The role assigned to users when they auto-join this workspace.
* `VIEWER` - VIEWER
* `EDITOR` - EDITOR
* `ADMIN` - ADMIN
Allowed values:
Response
Domain claimed successfully
id
domain
admin
The admin who claimed this domain
is_verified
created_at
workspaces
Errors
400
Bad Request Error

