To build a targeted API command to obtain management IDs of specific computers in Jamf Pro, you must first obtain the computer ID. You can find the computer ID in a computer's inventory information in the Jamf Pro interface or by using the Jamf Pro API.
In the Jamf Pro interface, the computer ID is displayed next to the Jamf Pro Computer ID attribute of the General category when viewing a computer's inventory information. For more information, see Computer Inventory Information in the Jamf Pro Documentation.
In the Jamf Pro API, you can use the /v1/computers-inventory command to return general information about the computers in your environment, including the computer ID.
After you obtain the computer ID, you can append it to the end of the https://YOUR_JAMF_PRO_URL/api/v1/computers/inventory/COMPUTERID command in order to obtain the management ID of specific computers in your environment.