Skip to content

Commit fb2e556

Browse files
slegrSimon Legros
andauthored
update tenant: update parameters (#154)
Co-authored-by: Simon Legros <simon.legros@flare.systems>
1 parent e16b46c commit fb2e556

File tree

2 files changed

+23
-61
lines changed

2 files changed

+23
-61
lines changed

docs/api-reference/spec/firework-v2-openapi.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7534,6 +7534,14 @@
75347534
},
75357535
"TenantData": {
75367536
"properties": {
7537+
"description": {
7538+
"description": "The Tenant's purpose / description",
7539+
"type": "string"
7540+
},
7541+
"global_search_calls_limit": {
7542+
"description": "The number of API calls allowed for the tenant.",
7543+
"type": "integer"
7544+
},
75377545
"industry": {
75387546
"description": "The Tenant's industry",
75397547
"enum": [
@@ -7555,21 +7563,19 @@
75557563
"description": "The Tenant display name",
75567564
"type": "string"
75577565
},
7558-
"permissions": {
7559-
"items": {
7560-
"type": "string"
7561-
},
7562-
"type": "array"
7566+
"number_of_employees": {
7567+
"description": "The number of employees for the tenant",
7568+
"type": "integer"
75637569
},
7564-
"type": {
7565-
"description": "The Tenant's type",
7566-
"type": "string"
7570+
"prevent_global_search": {
7571+
"type": "boolean"
75677572
}
75687573
},
75697574
"required": [
7575+
"description",
75707576
"industry",
75717577
"name",
7572-
"type"
7578+
"number_of_employees"
75737579
],
75747580
"type": "object"
75757581
},
@@ -8253,4 +8259,4 @@
82538259
}
82548260
},
82558261
"x-original-swagger-version": "2.0"
8256-
}
8262+
}

docs/api-reference/spec/firework-v2-swagger.json

Lines changed: 7 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,43 +1764,11 @@
17641764
"properties": {
17651765
"description": {
17661766
"description": "The Tenant's purpose / description",
1767-
"example": "nullable string",
1768-
"type": [
1769-
"string",
1770-
"null"
1771-
]
1767+
"type": "string"
17721768
},
17731769
"global_search_calls_limit": {
1774-
"description": "The number of global search api calls allowed for the tenant",
1775-
"example": "nullable integer",
1776-
"type": [
1777-
"integer",
1778-
"null"
1779-
]
1780-
},
1781-
"identifier_limit": {
1782-
"description": "The number of identifiers allowed for the tenant",
1783-
"example": "nullable integer",
1784-
"type": [
1785-
"integer",
1786-
"null"
1787-
]
1788-
},
1789-
"identifier_rotation_limit": {
1790-
"description": "The number of identifiers rotations permitted per month",
1791-
"example": "nullable integer",
1792-
"type": [
1793-
"integer",
1794-
"null"
1795-
]
1796-
},
1797-
"identities_limit": {
1798-
"description": "The number of identities allowed for the tenant",
1799-
"example": "nullable integer",
1800-
"type": [
1801-
"integer",
1802-
"null"
1803-
]
1770+
"description": "The number of API calls allowed for the tenant.",
1771+
"type": "integer"
18041772
},
18051773
"industry": {
18061774
"description": "The Tenant's industry",
@@ -1825,29 +1793,17 @@
18251793
},
18261794
"number_of_employees": {
18271795
"description": "The number of employees for the tenant",
1828-
"example": "nullable integer",
1829-
"type": [
1830-
"integer",
1831-
"null"
1832-
]
1833-
},
1834-
"permissions": {
1835-
"items": {
1836-
"type": "string"
1837-
},
1838-
"type": "array"
1796+
"type": "integer"
18391797
},
1840-
"type": {
1841-
"description": "The Tenant's type",
1842-
"type": "string"
1798+
"prevent_global_search": {
1799+
"type": "boolean"
18431800
}
18441801
},
18451802
"required": [
18461803
"description",
18471804
"industry",
18481805
"name",
1849-
"number_of_employees",
1850-
"type"
1806+
"number_of_employees"
18511807
],
18521808
"type": "object"
18531809
},

0 commit comments

Comments
 (0)