Virtual Desktops

Update virtual desktop profile

Changed on

Updates an existing virtual desktop profile with new configuration (admin access required)

put/api/dcv/virtual_desktops/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
Example:admin.user

SOCA username for authentication (must be admin)

X-EDH-TOKENstring required
Example:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

SOCA authentication token

Request body application/x-www-form-urlencoded

profile_idstring required

ID of the profile to update

pattern_allowed_instance_typesstring required

Comma-separated patterns for allowed EC2 instance types

allowed_subnet_idsstring required

Comma-separated list of allowed subnet IDs

max_root_sizestring required

Maximum root volume size in GB

descriptionstring required

Profile description (max 500 characters)

Example request

{
  "profile_id": "1",
  "pattern_allowed_instance_types": "m5.*,c5.*,r5.*",
  "allowed_subnet_ids": "subnet-12345678,subnet-87654321",
  "max_root_size": "100",
  "description": "Updated profile for engineering workloads"
}

Response

Virtual desktop 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