Improve developer documentation: Update seed data documentation (#7904)
This commit is contained in:
@@ -24,7 +24,7 @@ create_user_endpoint="api/latest/fleet/users/admin"
|
||||
|
||||
# Create Anna
|
||||
data='{
|
||||
"name": "Anna",
|
||||
"name": "Anna G. Admin",
|
||||
"email": "anna@organization.com",
|
||||
"password": "password123#",
|
||||
"invited_by": 1,
|
||||
@@ -35,7 +35,7 @@ curl -X POST $CURL_FLAGS -H "Authorization: Bearer $TOKEN" "$SERVER_URL/$create_
|
||||
|
||||
# Create Mary
|
||||
data='{
|
||||
"name": "Mary",
|
||||
"name": "Mary G. Maintainer",
|
||||
"email": "mary@organization.com",
|
||||
"password": "password123#",
|
||||
"invited_by": 1,
|
||||
@@ -46,7 +46,7 @@ curl -X POST $CURL_FLAGS -H "Authorization: Bearer $TOKEN" "$SERVER_URL/$create_
|
||||
|
||||
# Create Oliver
|
||||
data='{
|
||||
"name": "Oliver",
|
||||
"name": "Oliver G. Observer",
|
||||
"email": "oliver@organization.com",
|
||||
"password": "password123#",
|
||||
"invited_by": 1,
|
||||
@@ -57,7 +57,7 @@ curl -X POST $CURL_FLAGS -H "Authorization: Bearer $TOKEN" "$SERVER_URL/$create_
|
||||
|
||||
# Create Marco
|
||||
data='{
|
||||
"name": "Marco",
|
||||
"name": "Marco Mixed Roles",
|
||||
"email": "marco@organization.com",
|
||||
"password": "password123#",
|
||||
"invited_by": 1,
|
||||
@@ -93,9 +93,27 @@ data='{
|
||||
}'
|
||||
curl -X POST $CURL_FLAGS -H "Authorization: Bearer $TOKEN" "$SERVER_URL/$create_user_endpoint" -d "$data" --insecure
|
||||
|
||||
|
||||
# Create Manny
|
||||
data='{
|
||||
"name": "Manny T. Maintainer",
|
||||
"email": "manny@organization.com",
|
||||
"password": "password123#",
|
||||
"invited_by": 1,
|
||||
"global_role": null,
|
||||
"admin_forced_password_reset": false,
|
||||
"teams": [
|
||||
{
|
||||
"id": 1,
|
||||
"role": "maintainer"
|
||||
}
|
||||
]
|
||||
}'
|
||||
curl -X POST $CURL_FLAGS -H "Authorization: Bearer $TOKEN" "$SERVER_URL/$create_user_endpoint" -d "$data" --insecure
|
||||
|
||||
# Create Toni
|
||||
data='{
|
||||
"name": "Toni",
|
||||
"name": "Toni T. Observer",
|
||||
"email": "toni@organization.com",
|
||||
"password": "password123#",
|
||||
"invited_by": 1,
|
||||
|
||||
Reference in New Issue
Block a user