Target Nodes
User Data
Create a new user data template
Changed onCreate a new user data template for target nodes
post/api/target_nodes/user_data
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 application/x-www-form-urlencoded
Example request
{
"template_name": "my-custom-template",
"description": "Custom user data template for CAE workloads",
"user_data": "#!/bin/bash echo 'Hello World'"
}Response
User data template created successfully
Example response
{
"success": true,
"message": "User Data template has been created successfully"
}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
added the non-success response with the status
- 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