Skip to content

Commit 3fda4e0

Browse files
committed
missing parameter
1 parent 460b2d9 commit 3fda4e0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

api/4/tenants.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,18 @@ curl -X PATCH "/_/api/4/tenants/tenant123" \
118118

119119
`204` Delete a tenant.
120120

121+
- Request body (JSON):
122+
123+
- `drop_tables` (optional): Whether to drop tenant database tables `[default: false]` (boolean).
124+
121125
```sh
122126
curl -X DELETE "/_/api/4/tenants/tenant123" \
123127
-H "Content-Type: application/json" \
124128
-H "X-API-Key: your_api_key" \
125129
-H "X-Signature: request_signature" \
130+
-d '{
131+
"drop_tables": true
132+
}'
126133
```
127134

128135
## `/_/api/4/tenants/{id}/install`

0 commit comments

Comments
 (0)