• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. API Reference
  4. API
  5. BMS Status Management (Native OpenStack APIs)
  6. Deleting Specified BMS Metadata (Native OpenStack API)

Deleting Specified BMS Metadata (Native OpenStack API)

Function

This interface is used to delete specified BMS metadata.

Constraints

The BMS OS-EXT-STS:vm_state attribute (BMS status) must be active, stopped, paused, or suspended.

URI

DELETE /v2.1/{project_id}/servers/{server_id}/metadata/{key}

Table 1 lists the parameters.

Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

server_id

Yes

Specifies the BMS ID.

key

Yes

Specifies the BMS metadata key value to be deleted.

Request Message

N/A

Response Message

N/A

Returned Values

See section Common Returned Values.