|
|
@ -594,7 +594,7 @@ public interface DeviceTypeManagementAdminService {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@DELETE
|
|
|
|
@DELETE
|
|
|
|
@Path("/{deviceTypeName}/delete")
|
|
|
|
@Path("/{deviceTypeName}")
|
|
|
|
@ApiOperation(
|
|
|
|
@ApiOperation(
|
|
|
|
httpMethod = "DELETE",
|
|
|
|
httpMethod = "DELETE",
|
|
|
|
value = "Delete device type.",
|
|
|
|
value = "Delete device type.",
|
|
|
@ -618,9 +618,12 @@ public interface DeviceTypeManagementAdminService {
|
|
|
|
code = 401,
|
|
|
|
code = 401,
|
|
|
|
message = "Unauthorized.\n The unauthorized access to the requested resource.",
|
|
|
|
message = "Unauthorized.\n The unauthorized access to the requested resource.",
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
response = ErrorResponse.class),
|
|
|
|
|
|
|
|
@ApiResponse(
|
|
|
|
|
|
|
|
code = 404,
|
|
|
|
|
|
|
|
message = "Not Found. \n Device type trying to delete does not exist"),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 406,
|
|
|
|
code = 406,
|
|
|
|
message = "Not Acceptable.\n The requested media type is not supported"),
|
|
|
|
message = "Not Acceptable. \n The requested media type is not supported"),
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 500,
|
|
|
|
code = 500,
|
|
|
|
message = "Internal Server Error. \n Server error occurred while deleting device type.",
|
|
|
|
message = "Internal Server Error. \n Server error occurred while deleting device type.",
|
|
|
|