update bp disable-enable-device

update enable and disable api url

Change-Id: I92047e094b6c5604d2e32105be5ae53799f54b69
This commit is contained in:
anguoming 2023-08-16 20:30:33 +08:00
parent cfd0b6c0fd
commit 00d4b6b040
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ Get Device API
Disable Device API
^^^^^^^^^^^^^^^^^^
* Disable a device
URL: ``/devices/disable/{device_uuid}``
URL: ``/devices/{device_uuid}/disable``
METHOD: ``POST``
Return: 200
Error Code: 404(the device is not found),403(the role is not admin)
@ -139,7 +139,7 @@ Disable Device API
Enable Device API
^^^^^^^^^^^^^^^^^
* Enable a device
URL: ``/devices/enable/{device_uuid}``
URL: ``/devices/{device_uuid}/enable``
METHOD: ``POST``
Return: 200
Error Code: 404(the device is not found),403(the role is not admin)