Skip to main content
Platform O&M/Automated O&M/Script Library

UpdateGuestVmScript

UpdateGuestVmScript

PUT/zstack/v1/scripts/{uuid}/actions

Operation ID

UpdateGuestVmScript

Since

5.2.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Path Parameters

  • uuid
    StringRequired

    The resource UUID.

Body Fields

  • name
    String

    Optional. The resource name.

  • description
    String

    Optional. Optional. The detailed description of the resource.

  • scriptContent
    String

    Optional. The script content.

  • renderParams
    String

    Optional. The custom parameters.

  • platform
    String

    Optional. The platform.

Responses

200 OK
200 OK

On success, this API returns an empty JSON object {}.