删除主机规格
接口URL
/api/v1/resource/spec?name=spec
请求方式
DELETE
Content-Type
application/json
认证方式
Bearer auth
请求Header参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
Accept | application/json | Text | 是 | - |
Content-Type | application/json | Text | 是 | - |
请求Query参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
name | spec | Text | 是 | 规格名称 |
成功响应示例
{
"Data": "spec",
"Success": true
}
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
code | - | String | |
data | - | String | |
message | - | String | |
success | - | Boolean |