Debian Codegraph @

testing/web-platform/tests/tools/wave/docs/rest-api/sessions-api/delete.md

raw
1 # `delete` - [Sessions API](../README.md#sessions-api)
2
3 The `delete` method of the sessions API is used to delete a session and single results associated with it. However artifacts like generated reports or JSON files containing results of a whole API remain, therefore urls to those resources are still working.
4
5 ## HTTP Request
6
7 `DELETE /api/sessions/<session_token>`
8
9 ## Example
10
11 **Request:**
12
13 `DELETE /api/sessions/1592b880-c339-11e9-b414-61af09c491b1`
14
15 **Response:**
16
17 `200 OK`
18
19 **Request:**
20
21 `GET /api/sessions/1592b880-c339-11e9-b414-61af09c491b1`
22
23 **Response:**
24
25 `404 NOT FOUND`