diff --git a/API-Sessions.md b/API-Sessions.md index 6e615c5..afb5bce 100644 --- a/API-Sessions.md +++ b/API-Sessions.md @@ -17,6 +17,11 @@ The provided token should be 64 byte (512-bit) of cryptographic strong entropy, ``` ### Response +| code | result | +| --- | --- | +| 201 | Everything okay, session was created | +| 403 | User credentials are not correct | + ```json { "username": "foo", @@ -25,4 +30,9 @@ The provided token should be 64 byte (512-bit) of cryptographic strong entropy, ``` ## Delete Session (Log out) +| code | result | +| --- | --- | +| 204 | Everything okay, therefore the answer has not content | +| 404 | Session was not found | + `DELETE /sessions/{token}` \ No newline at end of file