-
Notifications
You must be signed in to change notification settings - Fork 3
DeleteOrganizationAsync
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
3 revisions
Delete an entire Organization including all Boards it contains (WARNING: THERE IS NO WAY GOING BACK!!!).
/// <summary>
/// Delete an entire Organization including all Boards it contains (WARNING: THERE IS NO WAY GOING BACK!!!).
/// </summary>
/// <remarks>
/// As this is a major thing, there is a secondary confirmation needed by setting: Options.AllowDeleteOfOrganizations = true
/// </remarks>
/// <param name="organizationId">The id of the Organization to Delete</param>
/// <param name="cancellationToken">Cancellation Token</param>
public async Task DeleteOrganizationAsync(string organizationId, CancellationToken cancellationToken = default) {...}
var organizationId = "dasdasdas333d33dedc8e332";
_trelloClient.Options.AllowDeleteOfOrganizations = true;
await _trelloClient.DeleteOrganizationAsync(organizationId);
_trelloClient.Options.AllowDeleteOfOrganizations = false;
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')