feat(user stuff): added in all the user stuff
This commit is contained in:
@@ -4,7 +4,7 @@ meta {
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
get {
|
||||
url: {{url}}/lst/old/api/ocp/updateprinters
|
||||
body: none
|
||||
auth: inherit
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: Change user password
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{url}}/lst/api/admin/users/changePassword/:userId
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
userId: 0hlO48C7Jw1J804FxrCnonKjQ2zh48R6
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"password":"nova0511"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
25
LogisticsSupportTool_API_DOCS/app/admin/User/Create user.bru
Normal file
25
LogisticsSupportTool_API_DOCS/app/admin/User/Create user.bru
Normal file
@@ -0,0 +1,25 @@
|
||||
meta {
|
||||
name: Create user
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/lst/api/admin/users
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username":"matthes01",
|
||||
"name":"blake",
|
||||
"email":"blake.matthes@alpla.com",
|
||||
"password":"nova0511"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
26
LogisticsSupportTool_API_DOCS/app/admin/User/Delete User.bru
Normal file
26
LogisticsSupportTool_API_DOCS/app/admin/User/Delete User.bru
Normal file
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: Delete User
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{url}}/lst/api/admin/users/delete/:userId
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
userId: 0hlO48C7Jw1J804FxrCnonKjQ2zh48R6
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"password":"nova0511"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -21,4 +21,5 @@ body:json {
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{url}}/lst/api/admin/:userID/grant
|
||||
url: {{url}}/lst/api/admin/users/:userID/grant
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{url}}/lst/api/admin/:userID/revoke
|
||||
url: {{url}}/lst/api/admin/users/:userID/revoke
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
vars {
|
||||
url: https://usiow2prod.alpla.net
|
||||
url: http://localhost:4200
|
||||
session_cookie:
|
||||
urlv2: http://localhost:3000
|
||||
jwtV2:
|
||||
|
||||
Reference in New Issue
Block a user