-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorganizationCreate.yml
More file actions
74 lines (74 loc) · 2.16 KB
/
Copy pathorganizationCreate.yml
File metadata and controls
74 lines (74 loc) · 2.16 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
post:
summary: Create a new Organization on the platform
tags:
- organization
description: Creates a new Organization when supplied with its details. Returns `organization_uuid`.
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
requestBody:
description: Organization creation information
required: true
content:
application/json:
schema:
type: object
properties:
action:
type: string
default: create
example: create
user_uuid:
type: string
format: uuid
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:
'403':
description: Not authorized
default:
description: Default response for POST /organizationCreate