def METHOD_NAME(client, sample_service):
    data_retention = create_service_data_retention(service=sample_service)
    data = {"days_of_retention": 3}
    response = client.post(
        "/service/{}/data-retention/{}".format(sample_service.id, data_retention.id),
        headers=[("Content-Type", "application/json"), create_authorization_header()],
        data=json.dumps(data),
    )
    assert response.status_code == 204
    assert response.get_data(as_text=True) == ""