Skip to content

Commit 21ce1e2

Browse files
committed
fix namespace
1 parent 4e39445 commit 21ce1e2

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

api/4/tenants.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ $signed = $privateKey->sign($body);
2525
$signature = base64_encode($signed);
2626
```
2727

28-
## `/api/4/_/tenants`
28+
## `/_/api/4/tenants`
2929

30-
### POST `/api/4/_/tenants`
30+
### POST `/_/api/4/tenants`
3131

3232
`201` Create a new tenant.
3333

@@ -41,7 +41,7 @@ $signature = base64_encode($signed);
4141
- `env` (optional): Environment variables specific to the tenant.
4242

4343
```sh
44-
curl -X POST "/api/4/_/tenants" \
44+
curl -X POST "/_/api/4/tenants" \
4545
-H "Content-Type: application/json" \
4646
-H "X-API-Key: your_api_key" \
4747
-H "X-Signature: request_signature" \
@@ -56,20 +56,20 @@ curl -X POST "/api/4/_/tenants" \
5656

5757
```
5858

59-
## `/api/4/_/tenants/{tenantId}`
59+
## `/_/api/4/tenants/{tenantId}`
6060

61-
### GET `/api/4/_/tenants/{tenantId}`
61+
### GET `/_/api/4/tenants/{tenantId}`
6262

6363
`200` Retrieve tenant details.
6464

6565
```sh
66-
curl -X GET "/api/4/_/tenants/tenant123" \
66+
curl -X GET "/_/api/4/tenants/tenant123" \
6767
-H "Content-Type: application/json" \
6868
-H "X-API-Key: your_api_key" \
6969
-H "X-Signature: request_signature" \
7070
```
7171

72-
### PATCH `/api/4/_/tenants/{tenantId}`
72+
### PATCH `/_/api/4/tenants/{tenantId}`
7373

7474
`204` Edit tenant information.
7575

@@ -82,7 +82,7 @@ curl -X GET "/api/4/_/tenants/tenant123" \
8282
- `env` (optional): New environment variables.
8383

8484
```sh
85-
curl -X PATCH "/api/4/_/tenants/tenant123" \
85+
curl -X PATCH "/_/api/4/tenants/tenant123" \
8686
-H "Content-Type: application/json" \
8787
-H "X-API-Key: your_api_key" \
8888
-H "X-Signature: request_signature" \
@@ -94,31 +94,31 @@ curl -X PATCH "/api/4/_/tenants/tenant123" \
9494
}'
9595
```
9696

97-
### DELETE `/api/4/_/tenants/{tenantId}`
97+
### DELETE `/_/api/4/tenants/{tenantId}`
9898

9999
`204` Delete a tenant.
100100

101101
```sh
102-
curl -X DELETE "/api/4/_/tenants/tenant123" \
102+
curl -X DELETE "/_/api/4/tenants/tenant123" \
103103
-H "Content-Type: application/json" \
104104
-H "X-API-Key: your_api_key" \
105105
-H "X-Signature: request_signature" \
106106
```
107107

108-
## `/api/4/_/tenants-plans`
108+
## `/_/api/4/tenants-plans`
109109

110-
### GET `/api/4/_/tenants-plans`
110+
### GET `/_/api/4/tenants-plans`
111111

112112
`200` List all tenant plans.
113113

114114
```sh
115-
curl -X GET "/api/4/_/tenants-plans" \
115+
curl -X GET "/_/api/4/tenants-plans" \
116116
-H "Content-Type: application/json" \
117117
-H "X-API-Key: your_api_key" \
118118
-H "X-Signature: request_signature" \
119119
```
120120

121-
### POST: `/api/4/_/tenants-plans`
121+
### POST: `/_/api/4/tenants-plans`
122122

123123
`201` Create a new tenant plan.
124124

@@ -129,7 +129,7 @@ curl -X GET "/api/4/_/tenants-plans" \
129129
- `env` (optional): Environment variables specific to the tenant plan.
130130

131131
```sh
132-
curl -X POST "/api/4/_/tenants-plans" \
132+
curl -X POST "/_/api/4/tenants-plans" \
133133
-H "Content-Type: application/json" \
134134
-H "X-API-Key: your_api_key" \
135135
-H "X-Signature: request_signature" \
@@ -139,18 +139,18 @@ curl -X POST "/api/4/_/tenants-plans" \
139139
}'
140140
```
141141

142-
### GET: `/api/4/_/tenants-plans/{planId}`
142+
### GET: `/_/api/4/tenants-plans/{planId}`
143143

144144
`200` Retrieve tenant plan details.
145145

146146
```sh
147-
curl -X GET "/api/4/_/tenants-plans/basic_plan" \
147+
curl -X GET "/_/api/4/tenants-plans/basic_plan" \
148148
-H "Content-Type: application/json" \
149149
-H "X-API-Key: your_api_key" \
150150
-H "X-Signature: request_signature" \
151151
```
152152

153-
### PATCH: `/api/4/_/tenants-plans/{planId}`
153+
### PATCH: `/_/api/4/tenants-plans/{planId}`
154154

155155
`204` Edit tenant plan information.
156156

@@ -160,7 +160,7 @@ curl -X GET "/api/4/_/tenants-plans/basic_plan" \
160160
- `env` (optional): New environment variables.
161161

162162
```sh
163-
curl -X PATCH "/api/4/_/tenants-plans/basic_plan" \
163+
curl -X PATCH "/_/api/4/tenants-plans/basic_plan" \
164164
-H "Content-Type: application/json" \
165165
-H "X-API-Key: your_api_key" \
166166
-H "X-Signature: request_signature" \
@@ -170,12 +170,12 @@ curl -X PATCH "/api/4/_/tenants-plans/basic_plan" \
170170
}'
171171
```
172172

173-
### DELETE `/api/4/_/tenants-plans/{planId}`
173+
### DELETE `/_/api/4/tenants-plans/{planId}`
174174

175175
`204` Delete a tenant plan.
176176

177177
```sh
178-
curl -X DELETE "/api/4/_/tenants-plans/basic_plan" \
178+
curl -X DELETE "/_/api/4/tenants-plans/basic_plan" \
179179
-H "Content-Type: application/json" \
180180
-H "X-API-Key: your_api_key" \
181181
-H "X-Signature: request_signature" \

0 commit comments

Comments
 (0)