in packages/enterprise-search/src/api/enterprise/api.ts [49:60]
async putReadOnly (this: That, params: T.PutReadOnlyRequest, options?: TransportRequestOptions): Promise<T.PutReadOnlyResponse> {
const {
body,
...querystring
} = params ?? {}
return await this.transport.request<T.PutReadOnlyResponse>({
method: 'PUT',
path: '/api/ent/v1/internal/read_only_mode',
querystring,
body: body
}, options)
}