Skip to content

Commit b41711f

Browse files
committed
mention the Organization & Sub-accounts feature requirement for deleting a sub-account
1 parent 136da6a commit b41711f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎mailtrap/api/resources/sub_accounts.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def create(self, sub_account_params: CreateSubAccountParams) -> SubAccount:
3333
def delete(self, sub_account_id: int) -> DeletedObject:
3434
"""
3535
Delete a sub account of the organization. Requires organization
36-
admin permissions.
36+
admin permissions. The organization must also have the Organization
37+
& Sub-accounts feature enabled.
3738
3839
The sub account and all of its data are removed permanently and cannot
3940
be restored. Deleting the organization's last sub account also deletes

0 commit comments

Comments
 (0)