Skip to main content

toggle_package

Function toggle_package 

Source
pub async fn toggle_package(
    __arg0: State<AppState>,
    __arg1: Path<String>,
    __arg2: Json<Value>,
) -> Result<Json<Value>, (StatusCode, Json<Value>)>
Expand description

POST /api/packages/{name}/toggle — enable/disable a package