Add delete user route
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
meta {
|
||||
name: Login
|
||||
type: http
|
||||
seq: 7
|
||||
seq: 6
|
||||
}
|
||||
|
||||
post {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
meta {
|
||||
name: Logout
|
||||
type: http
|
||||
seq: 8
|
||||
seq: 7
|
||||
}
|
||||
|
||||
post {
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: Delete user
|
||||
type: http
|
||||
seq: 8
|
||||
}
|
||||
|
||||
delete {
|
||||
url: http://localhost:8000/api/users
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
Accept: application/json
|
||||
X-XSRF-TOKEN:
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: Users
|
||||
seq: 8
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Reference in New Issue
Block a user