示例

DELETE /api/compute_resources/980190962/images/980190962
{
  "image": {}
}
200
{
  "id": 980190962,
  "operatingsystem_id": 309172073,
  "compute_resource_id": 980190962,
  "architecture_id": 501905019,
  "uuid": "string-of-uuid",
  "username": "root",
  "name": "centos-1",
  "created_at": "2019-09-11T14:34:13.271Z",
  "updated_at": "2019-09-11T14:34:13.271Z",
  "iam_role": null,
  "user_data": false,
  "password": null
}

参数

参数名字 描述
location_id
选填

根据位置界定的范围

Validations:

  • Must be a Integer

organization_id
选填

根据机构界定的范围

Validations:

  • Must be a Integer

compute_resource_id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.