Target Nodes
Modify an existing software stack
Changed onModify an existing software stack with AMI and configuration details
put/api/target_nodes/software_stacks
Request
- The document declares no server URL.
- AuthsocaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)
Headers
X-EDH-USERstring required
Example:admin
SOCA username for authentication
X-EDH-TOKENstring required
Example:abc123token
SOCA authentication token
Request body multipart/form-data
Example request
{
"software_stack_id": "1",
"ami_id": "ami-12345678",
"root_size": "20",
"launch_tenancy": "default",
"launch_host": "h-12345678",
"user_data_variables": "env=prod,region=us-east-1",
"target_node_profile_id": "1",
"connection_string": "<h3>Connect via SSH</h3><p>ssh user@hostname</p>",
"target_node_user_data_id": "1",
"description": "Ubuntu 20.04 LTS with development tools"
}Response
Software stack updated successfully
Example response
{
"success": true,
"message": "ami-12345678 updated successfully in SOCA"
}Changes
- info
the endpoint scheme security
socaAuth AND socaTokenwas added to the API - info
the endpoint scheme security
edhAuth AND edhTokenwas removed from the API
- info
- info
the endpoint scheme security
edhAuth AND edhTokenwas added to the API - info
the endpoint scheme security
socaAuth AND socaTokenwas removed from the API
- info