feat(admin): allow setting owner when creating an account #140
@@ -126,7 +126,7 @@ class AdminAccountDetailResponse(AdminAccountListItem):
|
||||
class AdminAccountCreate(BaseModel):
|
||||
name: str = Field(..., min_length=1, max_length=255)
|
||||
plan: Literal["free", "pro", "team"] = "free"
|
||||
owner_email: Optional[str] = Field(None, description="Email of an existing user to set as owner")
|
||||
owner_email: Optional[EmailStr] = Field(None, description="Email of an existing user to set as owner")
|
||||
|
||||
|
||||
class AdminAccountUpdate(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user