-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorganizationUpdate.yml
More file actions
101 lines (101 loc) · 2.92 KB
/
Copy pathorganizationUpdate.yml
File metadata and controls
101 lines (101 loc) · 2.92 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
post:
summary: Update an existing Organization on the platform
tags:
- organization
description: Updates an existing Organization when supplied with its details. Returns status code.
security:
- bearerAuth: []
parameters:
- name: x-sr-application
in: header
description: What application/version is calling the API
required: true
style: simple
schema:
type: string
default: SR/Swagger
- name: organization_uuid
in: query
description: The organization_uuid of the Organization to update
required: true
schema:
type: string
format: uuid
default: c2b55dce-c710-4d8e-9ab5-cec08250a5bc
example: c2b55dce-c710-4d8e-9ab5-cec08250a5bc
requestBody:
description: Organization update information
required: true
content:
application/json:
schema:
type: object
properties:
action:
type: string
default: update
example: update
organization:
type: object
properties:
organization_name:
type: string
default: Acme Co.
example: Acme Co.
organization_domain:
type: string
default: acme.com
example: acme.com
primary_contact_email:
type: string
default: [email protected]
example: [email protected]
street_address_1:
type: string
default: 1 Foobar Rd.
example: 1 Foobar Rd.
street_address_2:
type: string
example: 2nd Floor
city:
type: string
default: Eastboro
example: Eastboro
state_region:
type: string
default: MA
example: MA
postal_code:
type: string
default: 90210
example: 90210
phone:
type: string
default: (508) 867-5309
example: (508) 867-5309
responses:
'200':
description: Successful operation
headers:
Content-Type:
schema:
type: string
description: The MIME type of the payload
Content-Length:
schema:
type: number
description: Byte length of the payload
content:
application/json:
schema:
type: object
properties:
organization_uuid:
type: string
format: uuid
updated:
type: boolean
'403':
description: Not authorized
default:
description: Default response for POST /organizationUpdate