Stop virtual server

Description

Stops the virtual server (power off).

Request

Header

Content-Type: application/x-www-form-urlencoded

Accept: application/xml

X-Auth-Token: Keystone token (*1)

X-VA-Project-Id: ID of the project that owns the resource (*2)

X-VA-Domain-Id: ID of the domain that owns the resource (*2)

*1: The scope specified for the token is ignored when this API is executed by the system administrator.

*2: Mandatory when this API is executed by the system administrator. ignored when executed by other users.

Method

PUT

Path

/l_servers/virtualServerResourceId/stop

Query

n/a

Body

Argument name Description
force Force option
  • "true"

    Performs a forced stop

  • "false" (optional)

    Does not perform a forced stop

Response

Status code

202 Accepted

Body

Task information