def METHOD_NAME(client, sample_invited_user):
    data = {"status": "garbage"}
    url = "/service/{0}/invite/{1}".format(sample_invited_user.service_id, sample_invited_user.id)
    auth_header = create_authorization_header()
    response = client.post(
        url,
        data=json.dumps(data),
        headers=[("Content-Type", "application/json"), auth_header],
    )
    assert response.status_code == 400