Unsolved
12 Posts
0
28
How to create a Device Discovery Rule using the API?
Hi:
Anybody knows how to create a Device Discovery Rule using the API in the SCG?
I can find in documentation endpoints for run a device discovery rule and for get a list for device discovery rules but not for create a new one.
Thanks and regards
Yeysy
DELL-Chris H
Moderator
Moderator
•
8.5K Posts
0
November 2nd, 2023 18:30
Yeysy,
You would normally add devices from here
for discovery rules I believe these are going to be required.
So I would make one on purpose, then run a GET on it and find out what is needed and build out future ones from there.
Let me know if this helps.
Yeysy
12 Posts
0
November 3rd, 2023 10:28
Hi @DELL-Chris H:
I've try sending PUT and POST to endpoint /v2/inventory/discoveryrules using multiple combinations in the body but without luck.
Do you think the URI for this task is not implemented in the API?
BT
Yeysy
damyiu
4 Posts
0
November 3rd, 2023 14:41
Yes, it is possible that the URI for /v2/inventory/discoveryrules is not implemented in the API, or that it is not supported for creating new discovery rules.