-
Sub-task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
0
-
False
-
-
False
-
0
-
Rocket
-
-
Verified.
Tested on: Satellite stream snap 60
Steps followed:
1. # hammer user list (By executing this command, you can retrieve the user ID. For example, if the ID is 1, use that ID in the command below.)
2. # hammer settings set --id host_owner --value '1-Users'
3. After running the above command, you will receive the output - "Setting [host_owner] updated to [1-Users]"
4. To verify the second command, first run the following command which provides the token:
# echo -n 'username:password' | base64
5. # curl -X PUT -k -H 'Content-Type: application/json' -H 'Authorization: Basic <token>=' -i 'https://satellite.example.com/api/v2/settings/host_owner' --data '{"value": "1-Users"}'
Both commands work properly and update the setting.