Skip to content

Commit 5bb2ce5

Browse files
committed
typos
1 parent d89ad3a commit 5bb2ce5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

api/4/tenants.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $signature = base64_encode($signed);
2525

2626
- Request body (JSON):
2727

28-
- `tenant_id` (required): Unique identifier for the tenant.
28+
- `id` (required): Unique identifier for the tenant.
2929
- `hostname` (required): Hostname associated with the tenant.
3030
- `is_enabled` (required): Tenant enabled status (1 or 0).
3131
- `plan_id` (optional): ID of the tenant plan to assign.
@@ -38,7 +38,7 @@ curl -X POST "/api/4/_/tenants" \
3838
-H "X-API-Key: your_api_key" \
3939
-H "X-Signature: request_signature" \
4040
-d '{
41-
"tenant_id": "tenant123",
41+
"id": "tenant123",
4242
"hostname": "tenant123.example.com",
4343
"is_enabled": 1,
4444
"plan_id": "basic_plan",
@@ -69,7 +69,7 @@ curl -X GET "/api/4/_/tenants/tenant123" \
6969

7070
- `is_enabled` (optional): New enabled status (1 or 0).
7171
- `hostname` (optional): New hostname for the tenant.
72-
- `plan_id` (optional): New tenant plan ID.
72+
- `plan_id` (optional): New tenant plan ID. Use empty string to remove plan.
7373
- `limits` (optional): New resource limits.
7474
- `env` (optional): New environment variables.
7575

@@ -116,7 +116,7 @@ curl -X GET "/api/4/_/tenants-plans" \
116116

117117
- Request body (JSON):
118118

119-
- `plan_id` (required): Unique identifier for the tenant plan.
119+
- `id` (required): Unique identifier for the tenant plan.
120120
- `name` (required): Name of the tenant plan.
121121
- `limits` (optional): Resource limits specific to the tenant plan.
122122
- `env` (optional): Environment variables specific to the tenant plan.
@@ -127,7 +127,7 @@ curl -X POST "/api/4/_/tenants-plans" \
127127
-H "X-API-Key: your_api_key" \
128128
-H "X-Signature: request_signature" \
129129
-d '{
130-
"plan_id": "basic_plan",
130+
"id": "basic_plan",
131131
"name": "Basic Plan",
132132
"limits": {"CHEVERETO_MAX_USERS":"2"}
133133
}'

0 commit comments

Comments
 (0)