package ru.myitschool.work.api.admin

import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.PATCH
import retrofit2.http.Path

interface ApiServiceAdmin {
    @PATCH("api/admin/authority/change/{login}")
    suspend fun block(
        @Path("login") login: String,
        @Body data: AdminJson
    ): Response<Void>
}