feat(api): end a session

!1
This commit is contained in:
2023-07-28 15:11:02 +09:30
parent e8a5edda5c
commit 15573f03cd

View File

@ -0,0 +1,13 @@
---
- name: End API Session
ansible.builtin.uri:
url: "http://{{ glpi.host }}/apirest.php/killSession"
method: GET
return_content: true
body: ''
status_code: 200
headers:
App-Token: "{{ glpi.app_token }}"
Session-Token: "{{ glpi_session_get.json.session.valid_id }}"
body_format: json
no_log: true