-
Notifications
You must be signed in to change notification settings - Fork 4
UpdateOrganizationAsync
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
3 revisions
Update an Organization (Workspace)
/// <summary>
/// Update an Organization (Workspace)
/// </summary>
/// <param name="organizationWithChanges">Organization with changes</param>
/// <param name="cancellationToken">Cancellation Token</param>
/// <returns>The updated Organization</returns>
public async Task<Organization> UpdateOrganizationAsync(Organization organizationWithChanges, CancellationToken cancellationToken = default) {...}
var organizationId = "dasdasdas333d33dedc8e332";
Organization organization = await _trelloClient.GetOrganizationAsync(organizationId);
organization.DisplayName = "My new workspace name";
Organization updatedOrganization = await _trelloClient.UpdateOrganizationAsync(organization);
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')