1 import { makePutBodyRequest } from '../requests/requests'
3 async function updateRedundancy (url: string, accessToken: string, host: string, redundancyAllowed: boolean, expectedStatus = 204) {
4 const path = '/api/v1/server/redundancy/' + host
6 return makePutBodyRequest({
10 fields: { redundancyAllowed },
11 statusCodeExpected: expectedStatus