File tree 4 files changed +28
-22
lines changed
docs/thehive/api/organisation
4 files changed +28
-22
lines changed Original file line number Diff line number Diff line change 1
1
nav:
2
2
- create.md
3
- - update.md
3
+ - update.md
4
+ - list.md
5
+ - link.md
Original file line number Diff line number Diff line change @@ -10,14 +10,16 @@ POST /api/v0/organisation
10
10
11
11
## Request
12
12
13
- ### Request Body Example
13
+ ### Request Body
14
14
15
- ``` json
16
- {
17
- "description" : " SOC team" ,
18
- "name" : " soc"
19
- }
20
- ```
15
+ !!! Example
16
+
17
+ ```json
18
+ {
19
+ "description": "SOC team",
20
+ "name": "soc"
21
+ }
22
+ ```
21
23
22
24
### Fields
23
25
@@ -33,17 +35,19 @@ The following fields are required:
33
35
- ` 201 ` : if organisation creation completed successfully
34
36
- ` 401 ` : Authentication error
35
37
36
- ### Response Body Example
37
-
38
- ``` json
39
- {
40
- "_id" : " ~204804296" ,
41
- "_type" : " organisation" ,
42
- "createdAt" : 1630385478884 ,
43
-
44
- "description" : " SOC team" ,
45
- "id" : " ~204804296" ,
46
- "links" : [],
47
- "name" : " soc"
48
- }
49
- ```
38
+ ### Response Body
39
+
40
+ !!! Example
41
+
42
+ ```json
43
+ {
44
+ "_id": "~204804296",
45
+ "_type": "organisation",
46
+ "createdAt": 1630385478884,
47
+
48
+ "description": "SOC team",
49
+ "id": "~204804296",
50
+ "links": [],
51
+ "name": "soc"
52
+ }
53
+ ```
You can’t perform that action at this time.
0 commit comments