Skip to content

Commit f49e5c8

Browse files
committed
document the feature and conflict refusals for deleteSubAccount
1 parent 48cafee commit f49e5c8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/main/java/io/mailtrap/api/subaccounts/SubAccounts.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public interface SubAccounts {
2929
/**
3030
* Delete a sub account from the specified organization.
3131
* Requires organization admin permissions.
32+
* The organization must have the Organization & Sub-accounts feature enabled; otherwise the
33+
* call fails with 403. A concurrent deletion of the same sub account fails with 409.
3234
* <p>
3335
* Deletion is permanent and removes all sub account data. Deleting the last sub account
3436
* of an organization deletes the organization as well. A repeated call for the same

0 commit comments

Comments
 (0)