From 82b7626a799cae5b4c9fba831b7270267b490f47 Mon Sep 17 00:00:00 2001 From: Jake Murray <79856664+jakemurraybu@users.noreply.github.com> Date: Sun, 18 Apr 2021 14:58:25 +0100 Subject: [PATCH 1/2] Updated create user post response --- user-management.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/user-management.md b/user-management.md index f689779..fcc8b8e 100644 --- a/user-management.md +++ b/user-management.md @@ -1,3 +1,4 @@ + # User Management Gophish supports having multiple user accounts. Each of these accounts are separate, with their own campaigns, landing pages, templates, etc. @@ -178,10 +179,13 @@ The username for the account { "id": 2, "username": "exampleuser", + "api_key" : "user_api_key" "role": { "slug": "user", "name": "User", "description": "User role with edit access to objects and campaigns" + } + "password_change_required": false } ``` {% endapi-method-response-example %} @@ -347,4 +351,3 @@ A valid API key {% endapi-method %} Returns a 404 error if no user is found with the provided ID. - From 98f56eb3c1f295b69a8e7a4b246191509e7a318c Mon Sep 17 00:00:00 2001 From: Jake Murray <79856664+jakemurraybu@users.noreply.github.com> Date: Sun, 18 Apr 2021 15:00:14 +0100 Subject: [PATCH 2/2] Update user-management.md --- user-management.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user-management.md b/user-management.md index fcc8b8e..aff3453 100644 --- a/user-management.md +++ b/user-management.md @@ -1,4 +1,3 @@ - # User Management Gophish supports having multiple user accounts. Each of these accounts are separate, with their own campaigns, landing pages, templates, etc. @@ -351,3 +350,4 @@ A valid API key {% endapi-method %} Returns a 404 error if no user is found with the provided ID. +