Enrich the shell script created in the previous example to add the Remote Engine to an existing Remote Engine Cluster.
Before you begin
You have a Remote Engine installed and already paired.
You already have a Remote Engine Cluster.
About this task
The following example extends the shell script shown in the previous example but can also be used standalone, provided that you have a personal access token or a service account token to authenticate your API request.
curl -X PUT
--header 'Content-Type: application/json'
--header 'Accept: application/json'
--header 'Authorization: Bearer 'personal_access_token or service_account_token''