blockUser

@POST(value = "/video/call/{type}/{id}/block")
abstract suspend fun blockUser(@Path(value = "type") type: String, @Path(value = "id") id: String, @Body blockUserRequest: BlockUserRequest): BlockUserResponse

Block user on a call Block a user, preventing them from joining the call until they are unblocked. Sends events: - call.blocked_user Required permissions: - BlockUser Responses:

  • 201: Successful response

  • 400: Bad request

  • 429: Too many requests

Return

BlockUserResponse

Parameters

type
id
blockUserRequest