Target Nodes

Update an existing target node profile

Changed on

Updates the configuration of an existing target node profile including instance types, subnets, and resource limits

put/api/target_nodes/profiles

Request

  • The document declares no server URL.
  • Auth
    socaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)

Headers

X-EDH-USERstring required

SOCA username for authentication

X-EDH-TOKENstring required

Authentication token for the SOCA user

Request body application/x-www-form-urlencoded

profile_idstring required

ID of the profile to update

pattern_allowed_instance_typesstring required

Comma-separated list of allowed EC2 instance type patterns

allowed_subnet_idsstring required

Comma-separated list of allowed subnet IDs

max_root_sizestring required

Maximum root disk size in GB

descriptionstring

Profile description (max 500 characters)

Example request

{
  "profile_id": "2",
  "pattern_allowed_instance_types": "m5.*,c5.*,r5.*",
  "allowed_subnet_ids": "subnet-12345678,subnet-87654321",
  "max_root_size": "200",
  "description": "Updated profile for high-performance computing workloads"
}

Response

Target node profile updated successfully

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Profile updated successfully"
}

Changes

    • info

      the endpoint scheme security socaAuth AND socaToken was added to the API

    • info

      the endpoint scheme security edhAuth AND edhToken was removed from the API

    • info

      the endpoint scheme security edhAuth AND edhToken was added to the API

    • info

      the endpoint scheme security socaAuth AND socaToken was removed from the API