Add a component to an application.

Request

PUT https://{hostname}:{port}
    /cli/application/addComponentToApp?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
component string true Name of the component
application string true Name of the application
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Example

curl -k -u jsmith:passwd 
   
  "https://deployserver.example.com:8443/cli/application/addComponentToApp
  ?component=MyComponent&application=MyApplication" -X PUT

Related CLI command: addComponentToApplication.