The Assign Servers API will help in assigning servers to the particular project on InfraGuard.
Steps for the assignment of servers to the Project:
- Click on 'Try it out' on Parameters.
- Copy the project_id from the list of projects API for which you want to assign the servers.
- Paste the project_id in the 'Enter project 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!