Add a resource to a team

Request

PUT https://{hostname}:{port}
    /cli/resource/teams?{parameters}
Table 1. Request parameters
Parameter Type Required Description
resource string true ID or path to the resource, such as /ResourceGroup/Agents/Agent1
template string false Name or ID of the resource template (Optional)
blueprintId string false Name or ID of the blueprint (Optional)
application string false Name or ID of the application (Required to look up blueprint by name)
team string true Name or ID of the team
type string false Name of the type to use. Leave blank if you are using the type "Standard Resource".

Related CLI command: addResourceToTeam.