The Assign Servers API will help in assigning servers to the particular policy on InfraGuard.
Steps for the assignment of servers to the Policy:
- Click on 'Try it out' on Parameters.
- Copy the policy id from the list of policies API for which you want to assign the servers.
- Paste the policy id in the 'Enter policy id' text box in Assign Servers API.
- Now copy the server_id from the list of servers API for those servers you want to assign and paste it in the Project object
- Click on Execute.
Your servers will be assigned successfully!