8 lines
222 B
Bash
8 lines
222 B
Bash
|
|
#!/bin/bash
|
||
|
|
set -e
|
||
|
|
|
||
|
|
curl -X PUT http://localhost:8181/v1/data/static/users \
|
||
|
|
-H "Content-Type: application/json" \
|
||
|
|
-d '[{"id": 999, "name": "test-user", "role": "admin"}]'
|
||
|
|
|
||
|
|
echo "Policy data modified successfully!"
|