forked from amundsen-io/amundsen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
detail_put.yml
36 lines (36 loc) · 853 Bytes
/
detail_put.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Create or update a user
---
tags:
- 'user'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserDetailFields'
description: User attribute fields
required: true
responses:
200:
description: 'Existing user found and updated'
content:
application/json:
schema:
$ref: '#/components/schemas/UserDetailFields'
201:
description: 'New user created'
content:
application/json:
schema:
$ref: '#/components/schemas/UserDetailFields'
400:
description: 'Bad Request'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
500:
description: 'Internal server error'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'