Skip to content

Commit e4bfa75

Browse files
albinpageorgepadayatti
authored andcommitted
Add #41 Add logout enpoint
1 parent 4a72acd commit e4bfa75

3 files changed

Lines changed: 45 additions & 0 deletions

File tree

openapi/v2023.11.1/bundled.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2689,6 +2689,28 @@ paths:
26892689
token:
26902690
$ref: '#/paths/~1onboard~1admin~1login/post/responses/200/content/application~1json/schema'
26912691
deprecated: false
2692+
/onboard/logout:
2693+
post:
2694+
tags:
2695+
- onboard
2696+
description: Logout
2697+
operationId: logout
2698+
parameters: []
2699+
requestBody:
2700+
content:
2701+
application/json:
2702+
schema:
2703+
required:
2704+
- refreshToken
2705+
type: object
2706+
properties:
2707+
refreshToken:
2708+
type: string
2709+
required: true
2710+
responses:
2711+
'200':
2712+
description: OK
2713+
deprecated: false
26922714
/onboard/organisation:
26932715
get:
26942716
deprecated: false

openapi/v2023.11.1/index.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ paths:
200200
/onboard/individual/login:
201201
post:
202202
$ref: ./paths/loginIndividual.yaml
203+
/onboard/logout:
204+
post:
205+
$ref: ./paths/logout.yaml
203206
/onboard/organisation:
204207
get:
205208
$ref: ./paths/getOrganisation.yaml
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
tags:
2+
- onboard
3+
description: Logout
4+
operationId: logout
5+
parameters: []
6+
requestBody:
7+
content:
8+
application/json:
9+
schema:
10+
required:
11+
- refreshToken
12+
type: object
13+
properties:
14+
refreshToken:
15+
type: string
16+
required: true
17+
responses:
18+
"200":
19+
description: OK
20+
deprecated: false

0 commit comments

Comments
 (0)