name: Unregister and reevaluate access of wireless01
testcases:
- name: get_login_token
  steps:
  - type: get_login_token

- name: unreg_wireless01
  steps:
  - type: http
    method: PATCH
    url: '{{.pfserver_webadmin_url}}/api/v1/node/{{.wireless01_wlan1_mac_address_url_encoded}}'
    ignore_verify_ssl: true
    body: >-
      {
        "status": "unreg"
      }
    headers:
      "Authorization": "{{.get_login_token.result.token}}"
      "Content-Type": "application/json"
    assertions:
      - result.statuscode ShouldEqual 200
