@@ -305,7 +305,7 @@ Simple authentication is the default and fallback in Drop. It relies on a simple
305305
306306---
307307
308- ## Fetch invitations { { tag: ' GET' , label: ' /api/v1/admin/invitation' , apilevel: " system" , acl: " auth:simple:invitation:read" }}
308+ ## Fetch invitations { { tag: ' GET' , label: ' /api/v1/admin/auth/ invitation' , apilevel: " system" , acl: " auth:simple:invitation:read" }}
309309
310310<Row >
311311 <Col >
@@ -337,15 +337,15 @@ Simple authentication is the default and fallback in Drop. It relies on a simple
337337 </Col >
338338 <Col sticky >
339339
340- <CodeGroup title = " Request" tag = " GET" label = " /api/v1/admin/invitation" >
340+ <CodeGroup title = " Request" tag = " GET" label = " /api/v1/admin/auth/ invitation" >
341341
342342 ``` bash {{ title: 'cURL' }}
343- curl -G http://localhost:3000/api/v1/admin/invitation \
343+ curl -G http://localhost:3000/api/v1/admin/auth/ invitation \
344344 -H " Authorization: Bearer {token}"
345345 ```
346346
347347 ``` js
348- const response = await fetch (" http://localhost:3000/api/v1/admin/invitation" , {
348+ const response = await fetch (" http://localhost:3000/api/v1/admin/auth/ invitation" , {
349349 headers: {
350350 Authorization: " Bearer {token}"
351351 }
@@ -375,7 +375,7 @@ Simple authentication is the default and fallback in Drop. It relies on a simple
375375
376376---
377377
378- ## Create invitation { { tag: ' POST' , label: ' /api/v1/admin/invitation' , apilevel: " system" , acl: " auth:simple:invitation:new" }}
378+ ## Create invitation { { tag: ' POST' , label: ' /api/v1/admin/auth/ invitation' , apilevel: " system" , acl: " auth:simple:invitation:new" }}
379379
380380<Row >
381381 <Col >
@@ -405,17 +405,17 @@ Simple authentication is the default and fallback in Drop. It relies on a simple
405405 </Col >
406406 <Col sticky >
407407
408- <CodeGroup title = " Request" tag = " POST" label = " /api/v1/admin/invitation" >
408+ <CodeGroup title = " Request" tag = " POST" label = " /api/v1/admin/auth/ invitation" >
409409
410410 ``` bash {{ title: 'cURL' }}
411- curl -X POST http://localhost:3000/api/v1/admin/invitation \
411+ curl -X POST http://localhost:3000/api/v1/admin/auth/ invitation \
412412 -H " Authorization: Bearer {token}" \
413413 -H " Content-Type: application/json" \
414414 -d " { ... }"
415415 ```
416416
417417 ``` js
418- const response = await fetch (" http://localhost:3000/api/v1/admin/invitation" , {
418+ const response = await fetch (" http://localhost:3000/api/v1/admin/auth/ invitation" , {
419419 headers: {
420420 Authorization: " Bearer {token}"
421421 },
@@ -450,7 +450,7 @@ Simple authentication is the default and fallback in Drop. It relies on a simple
450450
451451---
452452
453- ## Delete an invitation { { tag: ' DELETE' , label: ' /api/v1/admin/invitation' , apilevel: " system" , acl: " auth:simple:invitation:delete" }}
453+ ## Delete an invitation { { tag: ' DELETE' , label: ' /api/v1/admin/auth/ invitation' , apilevel: " system" , acl: " auth:simple:invitation:delete" }}
454454
455455<Row >
456456 <Col >
@@ -467,17 +467,17 @@ Simple authentication is the default and fallback in Drop. It relies on a simple
467467 </Col >
468468 <Col sticky >
469469
470- <CodeGroup title = " Request" tag = " DELETE" label = " /api/v1/admin/invitation" >
470+ <CodeGroup title = " Request" tag = " DELETE" label = " /api/v1/admin/auth/ invitation" >
471471
472472 ``` bash {{ title: 'cURL' }}
473- curl -X DELETE http://localhost:3000/api/v1/admin/invitation \
473+ curl -X DELETE http://localhost:3000/api/v1/admin/auth/ invitation \
474474 -H " Authorization: Bearer {token}" \
475475 -H " Content-Type: application/json" \
476476 -d " { ... }"
477477 ```
478478
479479 ``` js
480- const response = await fetch (" http://localhost:3000/api/v1/admin/invitation" , {
480+ const response = await fetch (" http://localhost:3000/api/v1/admin/auth/ invitation" , {
481481 headers: {
482482 Authorization: " Bearer {token}"
483483 },
0 commit comments