File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ This initializes the **platform-wide administrator** via the Admin Auth API.
4141> - ` upsert ` : create if missing, or reset if exists (recommended for bootstrap)
4242> - Replace ` x-api-key ` and credentials as needed.
4343
44- ### Linux / macOS
44+ ### Curl
4545
4646``` bash
4747curl -k -X POST " https://admin-api.openhvx.local/api/v1/admin/auth/register?mode=upsert" \
@@ -50,14 +50,6 @@ curl -k -X POST "https://admin-api.openhvx.local/api/v1/admin/auth/register?mode
5050 --data-binary ' {"email":"admin@openhvx.local","password":"3x4mpl3"}'
5151```
5252
53- ### Windows PowerShell
54-
55- ``` powershell
56- curl -k -Method POST "https://admin-api.openhvx.local/api/v1/admin/auth/register?mode=upsert" `
57- -Headers @{ "content-type" = "application/json"; "x-api-key" = "Fklzhrfolzhrihjzpo" } `
58- -Body '{ "email":"admin@openhvx.local", "password":"3x4mpl3" }'
59- ```
60-
6153** Expected response (example):**
6254
6355``` json
You can’t perform that action at this time.
0 commit comments