• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Nova
  5. Extend Server Actions
  6. Unlocking an ECS

Unlocking an ECS

Function Description

This interface is used to unlock an ECS.

After an ECS is unlocked, common users are allowed to manage the ECS.

URI

  • URI format

    POST /v2/{tenant_id}/servers/{server_id}/action

    POST /v2.1/{tenant_id}/servers/{server_id}/action

  • Parameter description

    Parameter

    Mandatory

    Description

    tenant_id

    Yes

    Specifies the tenant or project ID.

    server_id

    Yes

    Specifies the ECS ID.

Restrictions

N/A

Extension Description

N/A

Request

Parameter

Type

Mandatory

Description

unlock

Null

Yes

Unlocks an ECS.

Response

N/A

Example Request

POST /v2/d6c277ba8820452e83df36f33c9fa561/servers/44273399-f592-4ec8-b8c7-3d51e444ff34/action
POST /v2.1/d6c277ba8820452e83df36f33c9fa561/servers/44273399-f592-4ec8-b8c7-3d51e444ff34/action
{
   "unlock": null 
}

Example Response

N/A

Returned Values

See General Request Returned Values.