mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Let users delete a contact list
Follows our standard pattern of confirming with a red banner for actions that are destructive.
This commit is contained in:
@@ -30,5 +30,8 @@ class ContactListApiClient(NotifyAdminAPIClient):
|
||||
def get_contact_list(self, *, service_id, contact_list_id):
|
||||
return self.get(f'/service/{service_id}/contact-list/{contact_list_id}')
|
||||
|
||||
def delete_contact_list(self, *, service_id, contact_list_id):
|
||||
return self.delete(f'/service/{service_id}/contact-list/{contact_list_id}')
|
||||
|
||||
|
||||
contact_list_api_client = ContactListApiClient()
|
||||
|
||||
Reference in New Issue
Block a user