27 lines
291 B
Plaintext
27 lines
291 B
Plaintext
meta {
|
|
name: GrantROle by ID
|
|
type: http
|
|
seq: 8
|
|
}
|
|
|
|
post {
|
|
url: http://{{url}}/lst/api/admin/:userID/grant
|
|
body: json
|
|
auth: inherit
|
|
}
|
|
|
|
params:path {
|
|
userID: 0hlO48C7Jw1J804FxrCnonK
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"module":"users",
|
|
"role":"admin"
|
|
}
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
}
|