mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 08:27:53 +00:00
doc: finalized response schema
This commit is contained in:
@@ -34,7 +34,7 @@ The command initializes a fresh Infisical instance by creating an admin user, or
|
|||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="--email">
|
<Accordion title="--email">
|
||||||
Email address for the admin user account that will be created.
|
Email address for the admin user account that will be created. This can be set using the `INFISICAL_ADMIN_EMAIL` environment variable.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Example
|
# Example
|
||||||
@@ -45,7 +45,7 @@ The command initializes a fresh Infisical instance by creating an admin user, or
|
|||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
<Accordion title="--password">
|
<Accordion title="--password">
|
||||||
Password for the admin user account.
|
Password for the admin user account. This can be set using the `INFISICAL_ADMIN_PASSWORD` environment variable.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Example
|
# Example
|
||||||
@@ -72,38 +72,27 @@ The command returns a JSON response with details about the created user, organiz
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"message": "Successfully initialized instance",
|
"identity": {
|
||||||
"user": {
|
"credentials": {
|
||||||
"id": "911d6d11-2bf8-4f1b-861d-6a0ec43e7e1a",
|
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZGVudGl0eUlkIjoiZGIyMjQ3OTItZWQxOC00Mjc3LTlkYWUtNTdlNzUyMzE1ODU0IiwiaWRlbnRpdHlBY2Nlc3NUb2tlbklkIjoiZmVkZmZmMGEtYmU3Yy00NjViLWEwZWEtZjM5OTNjMTg4OGRlIiwiYXV0aFRva2VuVHlwZSI6ImlkZW50aXR5QWNjZXNzVG9rZW4iLCJpYXQiOjE3NDIzMjI0ODl9.mqcZZqIFqER1e9ubrQXp8FbzGYi8nqqZwfMvz09g-8Y"
|
||||||
"email": "[email protected]",
|
|
||||||
"authMethods": [
|
|
||||||
"email"
|
|
||||||
],
|
|
||||||
"superAdmin": true,
|
|
||||||
"firstName": "Admin",
|
|
||||||
"lastName": "User",
|
|
||||||
"isAccepted": true,
|
|
||||||
"isMfaEnabled": false,
|
|
||||||
// Additional user properties...
|
|
||||||
},
|
},
|
||||||
"organization": {
|
"id": "db224792-ed18-4277-9dae-57e752315854",
|
||||||
"id": "65a54d51-cac9-418a-ae17-20bfc715c6df",
|
"name": "Instance Admin Identity"
|
||||||
"name": "your-org-name",
|
},
|
||||||
"slug": "your-org-name-xxxx",
|
"message": "Successfully bootstrapped instance",
|
||||||
"createdAt": "2025-03-17T11:11:41.564Z",
|
"organization": {
|
||||||
"updatedAt": "2025-03-17T11:11:41.564Z",
|
"id": "b56bece0-42f5-4262-b25e-be7bf5f84957",
|
||||||
// Additional organization properties...
|
"name": "dog",
|
||||||
},
|
"slug": "dog-v-e5l"
|
||||||
"identity": {
|
},
|
||||||
"id": "4fa39767-39ce-440f-bb00-f6aae64b3dd5",
|
"user": {
|
||||||
"name": "Admin Identity",
|
"email": "admin@example.com",
|
||||||
"authMethod": null,
|
"firstName": "Admin",
|
||||||
"createdAt": "2025-03-17T11:11:41.569Z",
|
"id": "a418f355-c8da-453c-bbc8-6c07208eeb3c",
|
||||||
"updatedAt": "2025-03-17T11:11:41.569Z",
|
"lastName": "User",
|
||||||
"credentials": {
|
"superAdmin": true,
|
||||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
|
"username": "[email protected]"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -67,38 +67,27 @@ The bootstrap process returns a JSON response with details about the created use
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"message": "Successfully initialized instance",
|
"identity": {
|
||||||
"user": {
|
"credentials": {
|
||||||
"id": "911d6d11-2bf8-4f1b-861d-6a0ec43e7e1a",
|
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZGVudGl0eUlkIjoiZGIyMjQ3OTItZWQxOC00Mjc3LTlkYWUtNTdlNzUyMzE1ODU0IiwiaWRlbnRpdHlBY2Nlc3NUb2tlbklkIjoiZmVkZmZmMGEtYmU3Yy00NjViLWEwZWEtZjM5OTNjMTg4OGRlIiwiYXV0aFRva2VuVHlwZSI6ImlkZW50aXR5QWNjZXNzVG9rZW4iLCJpYXQiOjE3NDIzMjI0ODl9.mqcZZqIFqER1e9ubrQXp8FbzGYi8nqqZwfMvz09g-8Y"
|
||||||
"email": "[email protected]",
|
|
||||||
"authMethods": [
|
|
||||||
"email"
|
|
||||||
],
|
|
||||||
"superAdmin": true,
|
|
||||||
"firstName": "Admin",
|
|
||||||
"lastName": "User",
|
|
||||||
"isAccepted": true,
|
|
||||||
"isMfaEnabled": false,
|
|
||||||
// Additional user properties...
|
|
||||||
},
|
},
|
||||||
"organization": {
|
"id": "db224792-ed18-4277-9dae-57e752315854",
|
||||||
"id": "65a54d51-cac9-418a-ae17-20bfc715c6df",
|
"name": "Instance Admin Identity"
|
||||||
"name": "your-org-name",
|
},
|
||||||
"slug": "your-org-name-xxxx",
|
"message": "Successfully bootstrapped instance",
|
||||||
"createdAt": "2025-03-17T11:11:41.564Z",
|
"organization": {
|
||||||
"updatedAt": "2025-03-17T11:11:41.564Z",
|
"id": "b56bece0-42f5-4262-b25e-be7bf5f84957",
|
||||||
// Additional organization properties...
|
"name": "dog",
|
||||||
},
|
"slug": "dog-v-e5l"
|
||||||
"identity": {
|
},
|
||||||
"id": "4fa39767-39ce-440f-bb00-f6aae64b3dd5",
|
"user": {
|
||||||
"name": "Admin Identity",
|
"email": "admin@example.com",
|
||||||
"authMethod": null,
|
"firstName": "Admin",
|
||||||
"createdAt": "2025-03-17T11:11:41.569Z",
|
"id": "a418f355-c8da-453c-bbc8-6c07208eeb3c",
|
||||||
"updatedAt": "2025-03-17T11:11:41.569Z",
|
"lastName": "User",
|
||||||
"credentials": {
|
"superAdmin": true,
|
||||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
|
"username": "[email protected]"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user