Updates an existing distribution list
This call requires the id of the distribution list you want to update as a path parameter; a name and recipients are required body parameters. The name and recipients you enter will replace the existing values. If you want to add recipients to an existing list, be sure to include the original recipients as well; otherwise, they will be removed. To add more workspace users to a distribution list without removing the existing recipients, consider using Batch update distribution list with list of users.
Use the accessType body parameter to change a list’s sharing setting to Private (the list is only accessible to the list creator), Account (the list can be used by any workspace user), or User_List (the list can be used by select workspace users only).
A 204 code is returned when the list is updated successfully.