name: Delete wired mac authentication connection profile
testcases:
- name: get_login_token
  steps:
  - type: get_login_token

- name: delete_wired_mac_authentication_connection_profile
  steps:
  - type: http
    method: DELETE
    url: '{{.pfserver_webadmin_url}}/api/v1/config/connection_profile/{{.wired_mac_auth.profiles.wired.id}}'
    ignore_verify_ssl: true
    headers:
      "Authorization": "{{.get_login_token.result.token}}"
      "Content-Type": "application/json"
    assertions:
      - result.statuscode ShouldEqual 200
