/// <summary> /// Updates user settings. /// HTTP Method: put /// Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId} /// Rate Limit Group: Medium /// App Permission: EditExtensions /// User Permission: EditUserInfo OR EditUserCredentials /// </summary> public async Task <GetExtensionInfoResponse> Put(ExtensionUpdateRequest extensionUpdateRequest, RestRequestConfig restRequestConfig = null) { if (extensionId == null) { throw new ArgumentException("Parameter cannot be null", nameof(extensionId)); } return(await rc.Put <GetExtensionInfoResponse>(Path(), extensionUpdateRequest, null, restRequestConfig)); }
/// <summary> /// Updates user settings. /// HTTP Method: put /// Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId} /// Rate Limit Group: Medium /// App Permission: EditExtensions /// User Permission: EditUserInfo OR EditUserCredentials /// </summary> public async Task <GetExtensionInfoResponse> Put(ExtensionUpdateRequest extensionUpdateRequest, RestRequestConfig restRequestConfig = null) { return(await rc.Put <GetExtensionInfoResponse>(Path(), extensionUpdateRequest, null, restRequestConfig)); }