删除缩放缩放计划 | 大装置帮助中心
跳到主要内容

删除缩放缩放计划

DELETE /v2/services/{service}/scalePlans/{scalePlan}

请求头(Request Header)

参考认证(authentication)

请求参数(Request Parameters)

名称类型必须位置默认值取值范围描述
servicestringpath--The service id.
scalePlanstringpath--The scalePlan id.

请求示例(Request Example)

curl --location --request DELETE 'http://ams.sensecoreapi.dev/studio/ams/data/rp/v2/services/demo888888/scalePlans/2374ab2d-ffd6-479a-895c-5c86ed70c531' \
--header 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzpoeWRyYS5qd3QuYWNjZXNzLXRva2VuIiwidHlwIjoiSldUIn0.eyJhdWQiOltdLCJjbGllbnRfaWQiOiI0ZTQxNDg1NC03MjAwLTUwOWYtYjk2MC1mOGIwZGJiYmYzMzEiLCJleHAiOjE3MDUzMjA4NjcsImV4dCI6eyJhbGxfYXoiOmZhbHNlLCJhel9saXN0IjpbImNuLXNoLTAxYSIsImNuLXNoLTAxYiIsImNuLXNoLTAxeiJdLCJpc19kZWRpY2F0ZWRfdGVuYW50IjpmYWxzZSwicHJwX2xpc3QiOlsiY24tc2gtMDFhLXBycDAxIiwiY24tc2gtMDFiLXBycDAxIl0sInRlbmFudF9jZXJ0aWZ5X3N0YXR1cyI6dHJ1ZSwidGVuYW50X2NlcnRpZnlfdHlwZSI6ImVudGVycHJpc2UiLCJ0ZW5hbnRfY29kZSI6Im1hYXNyb290IiwidGVuYW50X2lkIjoiYjRmNjFmNGMtOGE2YS00ZmRiLWI0YzEtZjNiOWE0YWE0YjI0IiwidXNlcl9pZCI6ImNhNzFlZDFkLTliMjYtNDllNS1iZTk2LWIyZGE0NDlkNWE5NCIsInVzZXJfdHlwZSI6Im5vcm1hbCIsInVzZXJuYW1lIjoiamNhbzA4In0sImlhdCI6MTcwNTMxMDA2NiwiaXNzIjoiaHR0cHM6Ly9zaWduaW4uc2Vuc2Vjb3JlLnRlY2gvIiwianRpIjoiZjliOTQ0NzAtNTE1MC00MmJjLWE3NWYtYzA5NjA1ZGRmYmZhIiwibmJmIjoxNzA1MzEwMDY2LCJzY3AiOlsib3BlbmlkIiwib2ZmbGluZSIsIm9mZmxpbmVfYWNjZXNzIl0sInN1YiI6ImpjYW8wODpiNGY2MWY0Yy04YTZhLTRmZGItYjRjMS1mM2I5YTRhYTRiMjQ6Y2E3MWVkMWQtOWIyNi00OWU1LWJlOTYtYjJkYTQ0OWQ1YTk0In0.VevzG0RcMEOEAvtyjO0u1tFd96hjcLRFvEpV4p35L4J0Je8feUZNa-c-geTNiYIS7Y-ABWxaVz1VoK8T3AQzrIpXw7nfIxcqtmu9xDVtQpe07qov641wL2Qs_0vd5zF-V80laqHkUBavdtxndwdQ7Jmwfb8BeC2SksGFxYEREEbPCoTRr8xArVhMYJRqiFnL1j2ywKXnJ-rh4-QV_jVx-KgV_vFdh8cGOtEpr_3QRjcIyQ1jxf1-NmR1ycQG71Lw4_CKF0dKMZ_Zfqtoxm9h320swNwM3TSnS83KcabhBdmzcdJ-s25Rd-13AK7TRrsP3IOvp5rZkpN2VgmQFN5B2CUI_CG5WMo8smNZDtQU8707nhqvJV3Gfwy67y3A7Xn7-W6I2upunTokZtHv6csmpgJked1gph_C7vYDbwGf2JxLgqOblnN-XT1XI7d7ciZr3eRqxHEUfKDQCNlhu5z55KHZl_dQhCuedLeXe3JKRgwG4DLFrg0H8Thce5GxX4z0YL6L5bfIXuBa5VBtGcl5XDhJczgWJP8S9ekd-WxryaEg-Nyra04sjFLXGxhaTyEjuIAj9wgcIAk-vGEz19o5tjJqr2wZwqgM2ZZp9ZQDeoDETZjoF3kXxwkrciXgq2SPjp5sg2U4vXHc-cmJNX2djpfHHv-ff7UEfmdGO0TtipU' \
--header 'Content-Type: application/json' \
--data '{
"name":"49114406-0bf4-408b-a587-b3b637bf01a9"
}'

响应示例(Response Example)

正常HTTP状态码为200,无特殊返回。