Hi @_Val_ ,
Sorry for this.
I was able to run a command to discard all web_api sessions and i tried again to add host and add to specific group but i got the same result.
This time i complete all the steps with logout method.
Response from add-host
{
"uid": "XXXXXXX",
"name": "XXXXXXX",
"type": "host",
"domain": {
"uid": "XXXXXXX",
"name": "SMC User",
"domain-type": "domain"
},
"ipv4-address": "XXXXXXX",
"interfaces": [],
"nat-settings": {
"auto-rule": false
},
"groups": [
{
"uid": "XXXXXXX",
"name": "XXXXXXX",
"type": "group",
"domain": {
"uid": "XXXXXXX",
"name": "SMC User",
"domain-type": "domain"
},
"icon": "General/group",
"color": "slate blue"
}
],
"comments": "Imported from soar API",
"color": "black",
"icon": "Objects/host",
"tags": [],
"meta-info": {
"lock": "unlocked",
"validation-state": "ok",
"last-modify-time": {
"posix": 1663687538594,
"iso-8601": "2022-09-20T17:25+0200"
},
"last-modifier": "XXXXXXX",
"creation-time": {
"posix": 1663687538594,
"iso-8601": "2022-09-20T17:25+0200"
},
"creator": "XXXXXXX"
},
"read-only": true
}
Response from publish
"task-id": "01234567-89ab-cdef-9516-e10f427f328e"
Response from logout
{
"message": "OK"
}
Can you please help with this issue?