Realms and Admins
Realm is isolated domain of data.
Setup Realm Admin User
echo "create admin user for Realm id=634b5be77f6a7b0be52dffcc"
curl --location --request POST 'https://api.orangepill.cloud/v1/realms/634b5be77f6a7b0be52dffcc/users' \
--header 'x-api-key: AXVubzpwQDU1dzByYM==' \
--header 'idempotency-key: 27373fabc392933deffda' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "user1",
"password": "password1",
"scopes": "realm",
"roles": "admin",
"data": {
"my_field_1": "my_value_1",
"email": "[email protected]"
}
}'List available API credits
Last updated