Add a base resource to an environment#


PUT https://{hostname}:{port}
Accept: application/json

Parameter Type Required Description
environment string true Name or ID of the environment
application string false Name of the application; this value is required if you specify the environment name instead of ID
resource string true Path or ID of the resource to add
Parameter Type Required Description
Accept application/json true  


curl -k -u jsmith:passwd 

  ?application=MyApplication&environment=MyEnvironment&resource=/agents/agent1" -X PUT

Related CLI command: addEnvironmentBaseResource.

Parent topic: environment resource