docs(api): bruno endpoint saves
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: GrantROle by ID
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/lst/api/admin/:userID/grant
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
userID: 0hlO48C7Jw1J804FxrCnonK
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"module":"users",
|
||||
"role":"admin"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Reference in New Issue
Block a user