osc compute server metadata delete

Deletes a metadata item, by key, from a server.

Policy defaults enable only users with the administrative role or the owner of the server to perform this operation. Cloud providers can change these permissions through the policy.json file.

Normal response codes: 204

Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), conflict(409)

Usage: osc compute server metadata delete <SERVER_ID> <ID>

Arguments:

  • <SERVER_ID> — server_id parameter for /v2.1/servers/{server_id}/metadata/{id} API
  • <ID> — id parameter for /v2.1/servers/{server_id}/metadata/{id} API