mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Changed deactivate service to archive service.
need to deploy https://github.com/alphagov/notifications-api/pull/808 first
This commit is contained in:
@@ -103,8 +103,8 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
def update_service_with_properties(self, service_id, properties):
|
||||
return self.update_service(service_id, **properties)
|
||||
|
||||
def deactivate_service(self, service_id):
|
||||
return self.post('/service/{}/deactivate'.format(service_id), data=None)
|
||||
def archive_service(self, service_id):
|
||||
return self.post('/service/{}/archive'.format(service_id), data=None)
|
||||
|
||||
def remove_user_from_service(self, service_id, user_id):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user